pub struct MemoryMeta {
pub rev: u32,
}
Expand description
simple memory representation of meta
Fields§
§rev: u32
Implementations§
source§impl MemoryMeta
impl MemoryMeta
pub fn new(rev: u32) -> MemoryMeta
Trait Implementations§
source§impl Clone for MemoryMeta
impl Clone for MemoryMeta
source§fn clone(&self) -> MemoryMeta
fn clone(&self) -> MemoryMeta
Returns a copy 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 MemoryMeta
impl Debug for MemoryMeta
source§impl Default for MemoryMeta
impl Default for MemoryMeta
source§fn default() -> MemoryMeta
fn default() -> MemoryMeta
Returns the “default value” for a type. Read more
source§impl MetadataItem for MemoryMeta
impl MetadataItem for MemoryMeta
type UId = u32
fn uid(&self) -> &<MemoryMeta as MetadataItem>::UId
source§fn is_newer(&self, another: &MemoryMeta) -> bool
fn is_newer(&self, another: &MemoryMeta) -> bool
checkif item is newer
source§fn is_being_deleted(&self) -> bool
fn is_being_deleted(&self) -> bool
if object is process of being deleted
fn owner(&self) -> Option<&Self>
fn set_owner(&mut self, _owner: Self)
fn children(&self) -> Option<&HashMap<String, Vec<Self>>>
fn set_children(&mut self, _children: HashMap<String, Vec<Self>>)
source§impl MetadataRevExtension for MemoryMeta
impl MetadataRevExtension for MemoryMeta
fn next_rev(&self) -> MemoryMeta
source§impl PartialEq for MemoryMeta
impl PartialEq for MemoryMeta
source§fn eq(&self, other: &MemoryMeta) -> bool
fn eq(&self, other: &MemoryMeta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MemoryMeta
impl StructuralPartialEq for MemoryMeta
Auto Trait Implementations§
impl Freeze for MemoryMeta
impl RefUnwindSafe for MemoryMeta
impl Send for MemoryMeta
impl Sync for MemoryMeta
impl Unpin for MemoryMeta
impl UnwindSafe for MemoryMeta
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.