pub enum GenerationMutation {
Declare,
Reserve,
Retire,
RecordSchemaMetadata,
}Expand description
GenerationMutation
One staged allocation-history mutation.
Variants§
Declare
Add or confirm an active allocation declaration.
Reserve
Add or confirm a reserved allocation declaration.
Retire
Explicitly retire an allocation.
RecordSchemaMetadata
Record schema metadata drift for diagnostics.
Trait Implementations§
Source§impl Clone for GenerationMutation
impl Clone for GenerationMutation
Source§fn clone(&self) -> GenerationMutation
fn clone(&self) -> GenerationMutation
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 moreSource§impl Debug for GenerationMutation
impl Debug for GenerationMutation
Source§impl<'de> Deserialize<'de> for GenerationMutation
impl<'de> Deserialize<'de> for GenerationMutation
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 GenerationMutation
impl PartialEq for GenerationMutation
Source§fn eq(&self, other: &GenerationMutation) -> bool
fn eq(&self, other: &GenerationMutation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GenerationMutation
impl Serialize for GenerationMutation
impl Eq for GenerationMutation
impl StructuralPartialEq for GenerationMutation
Auto Trait Implementations§
impl Freeze for GenerationMutation
impl RefUnwindSafe for GenerationMutation
impl Send for GenerationMutation
impl Sync for GenerationMutation
impl Unpin for GenerationMutation
impl UnsafeUnpin for GenerationMutation
impl UnwindSafe for GenerationMutation
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