pub struct LeaseContract {
pub access: LeaseAccess,
pub lifetime: LeaseLifetime,
pub zero_copy_permitted: bool,
pub contiguous_required: bool,
}Fields§
§access: LeaseAccess§lifetime: LeaseLifetime§zero_copy_permitted: bool§contiguous_required: boolTrait Implementations§
Source§impl Clone for LeaseContract
impl Clone for LeaseContract
Source§fn clone(&self) -> LeaseContract
fn clone(&self) -> LeaseContract
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 LeaseContract
impl Debug for LeaseContract
Source§impl<'de> Deserialize<'de> for LeaseContract
impl<'de> Deserialize<'de> for LeaseContract
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 LeaseContract
Source§impl PartialEq for LeaseContract
impl PartialEq for LeaseContract
Source§impl Serialize for LeaseContract
impl Serialize for LeaseContract
impl StructuralPartialEq for LeaseContract
Auto Trait Implementations§
impl Freeze for LeaseContract
impl RefUnwindSafe for LeaseContract
impl Send for LeaseContract
impl Sync for LeaseContract
impl Unpin for LeaseContract
impl UnsafeUnpin for LeaseContract
impl UnwindSafe for LeaseContract
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