pub enum PhantomScope {
Shared,
Private,
Role {
role: String,
},
}Expand description
Visibility scope for phantom clusters.
Variants§
Visible to all readers.
Private
Visible only to the author.
Role
Visible to users with the specified role.
Implementations§
Trait Implementations§
Source§impl Clone for PhantomScope
impl Clone for PhantomScope
Source§fn clone(&self) -> PhantomScope
fn clone(&self) -> PhantomScope
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 PhantomScope
impl Debug for PhantomScope
Source§impl Default for PhantomScope
impl Default for PhantomScope
Source§fn default() -> PhantomScope
fn default() -> PhantomScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PhantomScope
impl<'de> Deserialize<'de> for PhantomScope
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 PhantomScope
impl PartialEq for PhantomScope
Source§impl Serialize for PhantomScope
impl Serialize for PhantomScope
impl Eq for PhantomScope
impl StructuralPartialEq for PhantomScope
Auto Trait Implementations§
impl Freeze for PhantomScope
impl RefUnwindSafe for PhantomScope
impl Send for PhantomScope
impl Sync for PhantomScope
impl Unpin for PhantomScope
impl UnsafeUnpin for PhantomScope
impl UnwindSafe for PhantomScope
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.