pub struct CommitInfo {
pub operation: CommitType,
pub rev: String,
pub rkey: String,
pub collection: Nsid,
}Expand description
Basic commit specific info bundled with every event, also the only data included with a delete
operation.
Fields§
§operation: CommitTypeThe type of commit operation that was performed.
rev: String§rkey: String§collection: NsidThe NSID of the record type that this commit is associated with.
Trait Implementations§
Source§impl Debug for CommitInfo
impl Debug for CommitInfo
Source§impl<'de> Deserialize<'de> for CommitInfo
impl<'de> Deserialize<'de> for CommitInfo
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
Auto Trait Implementations§
impl Freeze for CommitInfo
impl RefUnwindSafe for CommitInfo
impl Send for CommitInfo
impl Sync for CommitInfo
impl Unpin for CommitInfo
impl UnwindSafe for CommitInfo
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