pub struct NodeBodyLock {
pub time_to_expire: Option<u64>,
pub node_body_lock_type: Option<NodeBodyLockTypeEnum>,
pub lifetime: Option<NodeBodyLockLifetimeEnum>,
}
Fields§
§time_to_expire: Option<u64>
§node_body_lock_type: Option<NodeBodyLockTypeEnum>
§lifetime: Option<NodeBodyLockLifetimeEnum>
Trait Implementations§
Source§impl Clone for NodeBodyLock
impl Clone for NodeBodyLock
Source§fn clone(&self) -> NodeBodyLock
fn clone(&self) -> NodeBodyLock
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 NodeBodyLock
impl Debug for NodeBodyLock
Source§impl<'de> Deserialize<'de> for NodeBodyLock
impl<'de> Deserialize<'de> for NodeBodyLock
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 NodeBodyLock
impl RefUnwindSafe for NodeBodyLock
impl Send for NodeBodyLock
impl Sync for NodeBodyLock
impl Unpin for NodeBodyLock
impl UnwindSafe for NodeBodyLock
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