pub struct AutomationLeaseRecord {
pub run_id: AutomationRunId,
pub automation_id: AutomationId,
pub occurrence_key: AutomationOccurrenceKey,
pub server_id: AutomationServerId,
pub server_role: AutomationServerRole,
pub leased_at: OffsetDateTime,
pub expires_at: OffsetDateTime,
}Fields§
§run_id: AutomationRunId§automation_id: AutomationId§occurrence_key: AutomationOccurrenceKey§server_id: AutomationServerId§server_role: AutomationServerRole§leased_at: OffsetDateTime§expires_at: OffsetDateTimeTrait Implementations§
Source§impl Clone for AutomationLeaseRecord
impl Clone for AutomationLeaseRecord
Source§impl Debug for AutomationLeaseRecord
impl Debug for AutomationLeaseRecord
Source§impl<'de> Deserialize<'de> for AutomationLeaseRecord
impl<'de> Deserialize<'de> for AutomationLeaseRecord
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 AutomationLeaseRecord
Source§impl PartialEq for AutomationLeaseRecord
impl PartialEq for AutomationLeaseRecord
Source§impl Serialize for AutomationLeaseRecord
impl Serialize for AutomationLeaseRecord
impl StructuralPartialEq for AutomationLeaseRecord
Auto Trait Implementations§
impl Freeze for AutomationLeaseRecord
impl RefUnwindSafe for AutomationLeaseRecord
impl Send for AutomationLeaseRecord
impl Sync for AutomationLeaseRecord
impl Unpin for AutomationLeaseRecord
impl UnsafeUnpin for AutomationLeaseRecord
impl UnwindSafe for AutomationLeaseRecord
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.