pub struct Commit {
pub namespace_id: NamespaceId,
pub commit_id: CommitId,
pub committed_seq: ChangeSeq,
pub committed_by: ActorId,
pub committed_at_ms: u64,
pub message: Option<String>,
pub events: Option<Vec<FilesystemChange>>,
}Expand description
One committed logical commit: its identity and the events it applied.
Fields§
§namespace_id: NamespaceIdNamespace that changed.
commit_id: CommitIdThe idempotency key for the commit.
committed_seq: ChangeSeqSequence number where the commit became visible.
committed_by: ActorIdActor responsible for the commit, as supplied by the application.
committed_at_ms: u64The commit time in Unix milliseconds; committed_seq defines commit order.
message: Option<String>The optional caller annotation for the commit.
events: Option<Vec<FilesystemChange>>Always present on the change feed. Absent only from a replayed
POST /commits response whose WAL record has been retired.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Commit
impl<'de> Deserialize<'de> for Commit
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
impl Eq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnsafeUnpin for Commit
impl UnwindSafe for Commit
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