pub struct SessionExecutionLeaseCompletion {
pub session_id: String,
pub owner_id: String,
pub lease_token: String,
pub fencing_token: u64,
}Fields§
§session_id: String§owner_id: String§lease_token: String§fencing_token: u64Implementations§
Source§impl SessionExecutionLeaseCompletion
impl SessionExecutionLeaseCompletion
pub fn from_lease(lease: &SessionExecutionLease) -> Self
Trait Implementations§
Source§impl Clone for SessionExecutionLeaseCompletion
impl Clone for SessionExecutionLeaseCompletion
Source§fn clone(&self) -> SessionExecutionLeaseCompletion
fn clone(&self) -> SessionExecutionLeaseCompletion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SessionExecutionLeaseCompletion
impl<'de> Deserialize<'de> for SessionExecutionLeaseCompletion
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 SessionExecutionLeaseCompletion
Source§impl PartialEq for SessionExecutionLeaseCompletion
impl PartialEq for SessionExecutionLeaseCompletion
Source§fn eq(&self, other: &SessionExecutionLeaseCompletion) -> bool
fn eq(&self, other: &SessionExecutionLeaseCompletion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionExecutionLeaseCompletion
Auto Trait Implementations§
impl Freeze for SessionExecutionLeaseCompletion
impl RefUnwindSafe for SessionExecutionLeaseCompletion
impl Send for SessionExecutionLeaseCompletion
impl Sync for SessionExecutionLeaseCompletion
impl Unpin for SessionExecutionLeaseCompletion
impl UnsafeUnpin for SessionExecutionLeaseCompletion
impl UnwindSafe for SessionExecutionLeaseCompletion
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