pub enum NamespaceRegistrationType {
Root {
duration: u64,
},
Child {
parent_id: NamespaceId,
},
}Expand description
ルートか、どの親の下のサブネームスペースか。
Variants§
Trait Implementations§
Source§impl Clone for NamespaceRegistrationType
impl Clone for NamespaceRegistrationType
Source§fn clone(&self) -> NamespaceRegistrationType
fn clone(&self) -> NamespaceRegistrationType
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 moreimpl Copy for NamespaceRegistrationType
Source§impl Debug for NamespaceRegistrationType
impl Debug for NamespaceRegistrationType
impl Eq for NamespaceRegistrationType
impl StructuralPartialEq for NamespaceRegistrationType
Auto Trait Implementations§
impl Freeze for NamespaceRegistrationType
impl RefUnwindSafe for NamespaceRegistrationType
impl Send for NamespaceRegistrationType
impl Sync for NamespaceRegistrationType
impl Unpin for NamespaceRegistrationType
impl UnsafeUnpin for NamespaceRegistrationType
impl UnwindSafe for NamespaceRegistrationType
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