pub struct DirRecord { /* private fields */ }Expand description
Durable directory record with immutable identity and movable parent/name.
Implementations§
Source§impl DirRecord
impl DirRecord
Sourcepub fn name(&self) -> Option<&NamespaceName>
pub fn name(&self) -> Option<&NamespaceName>
Current child name, absent for root.
Sourcepub fn policy_patch(&self) -> &CodecPolicyPatch
pub fn policy_patch(&self) -> &CodecPolicyPatch
Local policy patch.
Sourcepub fn created_at(&self) -> Stamp
pub fn created_at(&self) -> Stamp
Creation stamp.
Trait Implementations§
impl Eq for DirRecord
impl StructuralPartialEq for DirRecord
Auto Trait Implementations§
impl Freeze for DirRecord
impl RefUnwindSafe for DirRecord
impl Send for DirRecord
impl Sync for DirRecord
impl Unpin for DirRecord
impl UnsafeUnpin for DirRecord
impl UnwindSafe for DirRecord
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