pub struct WorkspaceLease {
pub owner: String,
pub deadline_ms: u64,
pub fencing_token: u64,
}Fields§
§owner: String§deadline_ms: u64§fencing_token: u64Trait Implementations§
Source§impl Clone for WorkspaceLease
impl Clone for WorkspaceLease
Source§fn clone(&self) -> WorkspaceLease
fn clone(&self) -> WorkspaceLease
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 Debug for WorkspaceLease
impl Debug for WorkspaceLease
Source§impl<'de> Deserialize<'de> for WorkspaceLease
impl<'de> Deserialize<'de> for WorkspaceLease
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 WorkspaceLease
Source§impl PartialEq for WorkspaceLease
impl PartialEq for WorkspaceLease
Source§impl Serialize for WorkspaceLease
impl Serialize for WorkspaceLease
impl StructuralPartialEq for WorkspaceLease
Auto Trait Implementations§
impl Freeze for WorkspaceLease
impl RefUnwindSafe for WorkspaceLease
impl Send for WorkspaceLease
impl Sync for WorkspaceLease
impl Unpin for WorkspaceLease
impl UnsafeUnpin for WorkspaceLease
impl UnwindSafe for WorkspaceLease
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