pub struct UnvalidatedResourceLeaseEntry {
pub owner_node_id: Option<NodeId>,
pub resource_id: ResourceId,
pub size_bytes: u64,
pub alignment_bytes: u64,
pub usage: BufferUsage,
pub element_type: ElementType,
pub retention_policy: ResourceRetentionPolicy,
pub generation: u64,
pub state: ResourceLeaseState,
}Fields§
§owner_node_id: Option<NodeId>§resource_id: ResourceId§size_bytes: u64§alignment_bytes: u64§usage: BufferUsage§element_type: ElementType§retention_policy: ResourceRetentionPolicy§generation: u64§state: ResourceLeaseStateTrait Implementations§
Source§impl Clone for UnvalidatedResourceLeaseEntry
impl Clone for UnvalidatedResourceLeaseEntry
Source§fn clone(&self) -> UnvalidatedResourceLeaseEntry
fn clone(&self) -> UnvalidatedResourceLeaseEntry
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 UnvalidatedResourceLeaseEntry
impl<'de> Deserialize<'de> for UnvalidatedResourceLeaseEntry
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 UnvalidatedResourceLeaseEntry
Source§impl From<&ResourceLeaseEntry> for UnvalidatedResourceLeaseEntry
impl From<&ResourceLeaseEntry> for UnvalidatedResourceLeaseEntry
Source§fn from(entry: &ResourceLeaseEntry) -> Self
fn from(entry: &ResourceLeaseEntry) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for UnvalidatedResourceLeaseEntry
Auto Trait Implementations§
impl Freeze for UnvalidatedResourceLeaseEntry
impl RefUnwindSafe for UnvalidatedResourceLeaseEntry
impl Send for UnvalidatedResourceLeaseEntry
impl Sync for UnvalidatedResourceLeaseEntry
impl Unpin for UnvalidatedResourceLeaseEntry
impl UnsafeUnpin for UnvalidatedResourceLeaseEntry
impl UnwindSafe for UnvalidatedResourceLeaseEntry
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