Struct bonsaidb_core::transaction::ChangedDocument
source · [−]pub struct ChangedDocument {
pub collection: CollectionName,
pub id: u64,
pub deleted: bool,
}Expand description
A record of a changed document.
Fields
collection: CollectionNameThe id of the Collection of the changed Document.
id: u64The id of the changed Document.
deleted: boolIf the Document has been deleted, this will be true.
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 ChangedDocument
impl Send for ChangedDocument
impl Sync for ChangedDocument
impl Unpin for ChangedDocument
impl UnwindSafe for ChangedDocument
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