pub enum MutabilityTier {
Immutable,
Monotonic,
Mutable,
}Expand description
Mutability tier for an extension slot.
Variants§
Immutable
Cannot be modified after creation.
Monotonic
Can only grow (add-only sets, append-only chains).
Mutable
Can be freely modified by plugins with write capability.
Trait Implementations§
Source§impl Clone for MutabilityTier
impl Clone for MutabilityTier
Source§fn clone(&self) -> MutabilityTier
fn clone(&self) -> MutabilityTier
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 MutabilityTier
Source§impl Debug for MutabilityTier
impl Debug for MutabilityTier
Source§impl<'de> Deserialize<'de> for MutabilityTier
impl<'de> Deserialize<'de> for MutabilityTier
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
impl Eq for MutabilityTier
Source§impl Hash for MutabilityTier
impl Hash for MutabilityTier
Source§impl PartialEq for MutabilityTier
impl PartialEq for MutabilityTier
Source§fn eq(&self, other: &MutabilityTier) -> bool
fn eq(&self, other: &MutabilityTier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MutabilityTier
impl Serialize for MutabilityTier
impl StructuralPartialEq for MutabilityTier
Auto Trait Implementations§
impl Freeze for MutabilityTier
impl RefUnwindSafe for MutabilityTier
impl Send for MutabilityTier
impl Sync for MutabilityTier
impl Unpin for MutabilityTier
impl UnsafeUnpin for MutabilityTier
impl UnwindSafe for MutabilityTier
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.