pub struct MemoryRangeAuthority {
pub owner: String,
pub range: MemoryRange,
pub purpose: String,
}Expand description
MemoryRangeAuthority
Durable allocation-authority range recorded by the ABI ledger.
Fields§
§owner: StringAuthority label for the range.
range: MemoryRangeInclusive stable-memory ID range controlled by this authority.
purpose: StringStable diagnostic purpose for the authority record.
Trait Implementations§
Source§impl Clone for MemoryRangeAuthority
impl Clone for MemoryRangeAuthority
Source§fn clone(&self) -> MemoryRangeAuthority
fn clone(&self) -> MemoryRangeAuthority
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 MemoryRangeAuthority
impl Debug for MemoryRangeAuthority
Source§impl<'de> Deserialize<'de> for MemoryRangeAuthority
impl<'de> Deserialize<'de> for MemoryRangeAuthority
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 MemoryRangeAuthority
impl PartialEq for MemoryRangeAuthority
Source§fn eq(&self, other: &MemoryRangeAuthority) -> bool
fn eq(&self, other: &MemoryRangeAuthority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemoryRangeAuthority
impl Serialize for MemoryRangeAuthority
impl Eq for MemoryRangeAuthority
impl StructuralPartialEq for MemoryRangeAuthority
Auto Trait Implementations§
impl Freeze for MemoryRangeAuthority
impl RefUnwindSafe for MemoryRangeAuthority
impl Send for MemoryRangeAuthority
impl Sync for MemoryRangeAuthority
impl Unpin for MemoryRangeAuthority
impl UnsafeUnpin for MemoryRangeAuthority
impl UnwindSafe for MemoryRangeAuthority
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