pub struct WorkUnitSnapshot {
pub work_unit: WorkUnitRecord,
pub lease: Option<WorkUnitLeaseRecord>,
}Fields§
§work_unit: WorkUnitRecord§lease: Option<WorkUnitLeaseRecord>Trait Implementations§
Source§impl Clone for WorkUnitSnapshot
impl Clone for WorkUnitSnapshot
Source§fn clone(&self) -> WorkUnitSnapshot
fn clone(&self) -> WorkUnitSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkUnitSnapshot
impl Debug for WorkUnitSnapshot
Source§impl<'de> Deserialize<'de> for WorkUnitSnapshot
impl<'de> Deserialize<'de> for WorkUnitSnapshot
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
Source§impl PartialEq for WorkUnitSnapshot
impl PartialEq for WorkUnitSnapshot
Source§impl Serialize for WorkUnitSnapshot
impl Serialize for WorkUnitSnapshot
impl StructuralPartialEq for WorkUnitSnapshot
Auto Trait Implementations§
impl Freeze for WorkUnitSnapshot
impl RefUnwindSafe for WorkUnitSnapshot
impl Send for WorkUnitSnapshot
impl Sync for WorkUnitSnapshot
impl Unpin for WorkUnitSnapshot
impl UnsafeUnpin for WorkUnitSnapshot
impl UnwindSafe for WorkUnitSnapshot
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