pub struct Pin {
pub commit: String,
pub reason: String,
pub expires_at: Option<DateTime<Utc>>,
}Fields§
§commit: StringSource-control rev the host’s closure should be built from. Opaque to the framework; typically a 40-char SHA but short SHAs + tag names work.
reason: StringFree-form operator note. Not parsed; surfaced verbatim in
nixfleet status + dashboards.
expires_at: Option<DateTime<Utc>>Hard expiry. Expired pins are filtered at mkFleet eval time, so when present here the artifact already passed the filter at signing time - informational for operators reading the JSON.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pin
impl<'de> Deserialize<'de> for Pin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Pin
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnwindSafe for Pin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more