pub enum MemoryAllocationBinding {
Current {
stable_key: String,
owner: String,
},
Ledger {
stable_key: String,
owner: String,
},
Unknown,
}Expand description
Source of a measured ID’s binding; unknown does not mean unused.
Variants§
Trait Implementations§
Source§impl CandidType for MemoryAllocationBinding
impl CandidType for MemoryAllocationBinding
Source§impl Clone for MemoryAllocationBinding
impl Clone for MemoryAllocationBinding
Source§fn clone(&self) -> MemoryAllocationBinding
fn clone(&self) -> MemoryAllocationBinding
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 MemoryAllocationBinding
impl Debug for MemoryAllocationBinding
Source§impl<'de> Deserialize<'de> for MemoryAllocationBinding
impl<'de> Deserialize<'de> for MemoryAllocationBinding
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 MemoryAllocationBinding
Source§impl PartialEq for MemoryAllocationBinding
impl PartialEq for MemoryAllocationBinding
impl StructuralPartialEq for MemoryAllocationBinding
Auto Trait Implementations§
impl Freeze for MemoryAllocationBinding
impl RefUnwindSafe for MemoryAllocationBinding
impl Send for MemoryAllocationBinding
impl Sync for MemoryAllocationBinding
impl Unpin for MemoryAllocationBinding
impl UnsafeUnpin for MemoryAllocationBinding
impl UnwindSafe for MemoryAllocationBinding
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