pub enum StateChange {
Show 18 variants
RelationSnapshot {
id: ObjectId,
previous: Option<RelationOverlay>,
},
TypeSnapshot {
id: ObjectId,
previous: Option<TypeOverlay>,
},
SequenceSnapshot {
id: ObjectId,
previous: Option<SequenceOverlay>,
},
SearchPathSnapshot {
previous: Vec<String>,
},
GenerationCounterSnapshot {
previous: u64,
},
PendingValidationSnapshot {
previous: HashSet<(ObjectId, String)>,
},
FkGraphLengthMarker {
len: usize,
},
FkGraphSnapshot {
previous: Vec<FkEdge>,
},
ViewGraphLengthMarker {
len: usize,
},
ViewGraphSnapshot {
previous: Vec<ViewEdge>,
},
IndexGraphLengthMarker {
len: usize,
},
IndexGraphSnapshot {
previous: Vec<IndexEdge>,
},
RenameGraphLengthMarker {
len: usize,
},
RenameGraphSnapshot {
previous: Vec<RenameEdge>,
},
SequenceGraphLengthMarker {
len: usize,
},
SequenceGraphSnapshot {
previous: Vec<SequenceEdge>,
},
PartitionGraphLengthMarker {
len: usize,
},
PartitionGraphSnapshot {
previous: Vec<PartitionEdge>,
},
}Variants§
RelationSnapshot
TypeSnapshot
SequenceSnapshot
SearchPathSnapshot
GenerationCounterSnapshot
PendingValidationSnapshot
FkGraphLengthMarker
FkGraphSnapshot
ViewGraphLengthMarker
ViewGraphSnapshot
IndexGraphLengthMarker
IndexGraphSnapshot
RenameGraphLengthMarker
RenameGraphSnapshot
Fields
§
previous: Vec<RenameEdge>SequenceGraphLengthMarker
SequenceGraphSnapshot
Fields
§
previous: Vec<SequenceEdge>PartitionGraphLengthMarker
PartitionGraphSnapshot
Fields
§
previous: Vec<PartitionEdge>Trait Implementations§
Source§impl Clone for StateChange
impl Clone for StateChange
Source§fn clone(&self) -> StateChange
fn clone(&self) -> StateChange
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 moreAuto Trait Implementations§
impl Freeze for StateChange
impl RefUnwindSafe for StateChange
impl Send for StateChange
impl Sync for StateChange
impl Unpin for StateChange
impl UnsafeUnpin for StateChange
impl UnwindSafe for StateChange
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more