pub enum NamespaceState {
Defined,
Imported {
registry: String,
},
}
Expand description
The namespace state for defining or importing from other registries.
Variants§
Defined
The namespace is defined for the registry to use for its own package logs.
Imported
The namespace is imported from another registry.
Trait Implementations§
Source§impl Clone for NamespaceState
impl Clone for NamespaceState
Source§fn clone(&self) -> NamespaceState
fn clone(&self) -> NamespaceState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NamespaceState
impl Debug for NamespaceState
Source§impl<'de> Deserialize<'de> for NamespaceState
impl<'de> Deserialize<'de> for NamespaceState
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 NamespaceState
impl PartialEq for NamespaceState
Source§impl Serialize for NamespaceState
impl Serialize for NamespaceState
impl Eq for NamespaceState
impl StructuralPartialEq for NamespaceState
Auto Trait Implementations§
impl Freeze for NamespaceState
impl RefUnwindSafe for NamespaceState
impl Send for NamespaceState
impl Sync for NamespaceState
impl Unpin for NamespaceState
impl UnwindSafe for NamespaceState
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<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.