pub struct ServerObservedCommitTimeV1 {
pub format_version: u16,
pub unix_millis: u64,
pub uncertainty_millis: u64,
}Expand description
UTC sampled by Core immediately before a replicated commit request.
The uncertainty is explicit because this is an observed wall-clock value, not the ordering authority. The replicated log position owns ordering.
Fields§
§format_version: u16§unix_millis: u64§uncertainty_millis: u64Implementations§
Source§impl ServerObservedCommitTimeV1
impl ServerObservedCommitTimeV1
pub fn validate(self) -> Result<(), MutationCommitReceiptError>
Trait Implementations§
Source§impl Clone for ServerObservedCommitTimeV1
impl Clone for ServerObservedCommitTimeV1
impl Copy for ServerObservedCommitTimeV1
Source§impl Debug for ServerObservedCommitTimeV1
impl Debug for ServerObservedCommitTimeV1
Source§impl<'de> Deserialize<'de> for ServerObservedCommitTimeV1
impl<'de> Deserialize<'de> for ServerObservedCommitTimeV1
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 ServerObservedCommitTimeV1
impl StructuralPartialEq for ServerObservedCommitTimeV1
Auto Trait Implementations§
impl Freeze for ServerObservedCommitTimeV1
impl RefUnwindSafe for ServerObservedCommitTimeV1
impl Send for ServerObservedCommitTimeV1
impl Sync for ServerObservedCommitTimeV1
impl Unpin for ServerObservedCommitTimeV1
impl UnsafeUnpin for ServerObservedCommitTimeV1
impl UnwindSafe for ServerObservedCommitTimeV1
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