pub struct NamespaceRegistry { /* private fields */ }Expand description
Native implementation for NamespaceRegistry
Implementations§
Source§impl NamespaceRegistry
impl NamespaceRegistry
pub fn namespace(&self) -> &String
pub fn owners(&self) -> &[String]
pub fn permissions(&self) -> &[Permission]
pub fn into_builder(self) -> NamespaceRegistryBuilder
Trait Implementations§
Source§impl Clone for NamespaceRegistry
impl Clone for NamespaceRegistry
Source§fn clone(&self) -> NamespaceRegistry
fn clone(&self) -> NamespaceRegistry
Returns a duplicate 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 NamespaceRegistry
impl Debug for NamespaceRegistry
Source§impl Default for NamespaceRegistry
impl Default for NamespaceRegistry
Source§fn default() -> NamespaceRegistry
fn default() -> NamespaceRegistry
Returns the “default value” for a type. Read more
Source§impl FromBytes<NamespaceRegistry> for NamespaceRegistry
impl FromBytes<NamespaceRegistry> for NamespaceRegistry
fn from_bytes(bytes: &[u8]) -> Result<NamespaceRegistry, ProtoConversionError>
Source§impl FromNative<NamespaceRegistry> for NamespaceRegistry
impl FromNative<NamespaceRegistry> for NamespaceRegistry
fn from_native(native: NamespaceRegistry) -> Result<Self, ProtoConversionError>
Source§impl FromProto<NamespaceRegistry> for NamespaceRegistry
impl FromProto<NamespaceRegistry> for NamespaceRegistry
fn from_proto(proto: NamespaceRegistry) -> Result<Self, ProtoConversionError>
Source§impl IntoBytes for NamespaceRegistry
impl IntoBytes for NamespaceRegistry
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
Source§impl IntoNative<NamespaceRegistry> for NamespaceRegistry
impl IntoNative<NamespaceRegistry> for NamespaceRegistry
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<NamespaceRegistry> for NamespaceRegistry
impl IntoProto<NamespaceRegistry> for NamespaceRegistry
fn into_proto(self) -> Result<T, ProtoConversionError>
Source§impl PartialEq for NamespaceRegistry
impl PartialEq for NamespaceRegistry
impl StructuralPartialEq for NamespaceRegistry
Auto Trait Implementations§
impl Freeze for NamespaceRegistry
impl RefUnwindSafe for NamespaceRegistry
impl Send for NamespaceRegistry
impl Sync for NamespaceRegistry
impl Unpin for NamespaceRegistry
impl UnwindSafe for NamespaceRegistry
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
Source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.