Enum bonsaidb_core::transaction::Changes
source · [−]pub enum Changes {
Documents(Vec<ChangedDocument>),
Keys(Vec<ChangedKey>),
}Expand description
A list of changes.
Variants
Documents(Vec<ChangedDocument>)
A list of changed documents.
Keys(Vec<ChangedKey>)
A list of changed keys.
Implementations
Returns the list of documents changed in this transaction, or None if the transaction was not a document transaction.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Changes
impl UnwindSafe for Changes
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more