pub struct LeaseSummary {
pub id: String,
pub owner_session_id: String,
pub resource_kind: String,
pub resource_value: String,
pub mode: String,
pub acquired_at: String,
pub expires_at: Option<String>,
}Fields§
§id: String§owner_session_id: String§resource_kind: String§resource_value: String§mode: String§acquired_at: String§expires_at: Option<String>ISO timestamp when the lease expires. None for leases held without
an explicit deadline.
Trait Implementations§
Source§impl Clone for LeaseSummary
impl Clone for LeaseSummary
Source§impl Debug for LeaseSummary
impl Debug for LeaseSummary
Source§impl<'de> Deserialize<'de> for LeaseSummary
impl<'de> Deserialize<'de> for LeaseSummary
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
Auto Trait Implementations§
impl Freeze for LeaseSummary
impl RefUnwindSafe for LeaseSummary
impl Send for LeaseSummary
impl Sync for LeaseSummary
impl Unpin for LeaseSummary
impl UnsafeUnpin for LeaseSummary
impl UnwindSafe for LeaseSummary
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more