pub struct CanvasLogEntry { /* private fields */ }Implementations§
Source§impl CanvasLogEntry
impl CanvasLogEntry
pub fn from_replay_transaction( sequence: u64, transaction: impl Into<CanvasTransaction>, ) -> Self
pub fn from_committed_mutation( sequence: u64, committed: &CanvasCommittedMutation, ) -> Self
pub fn sequence(&self) -> u64
pub fn transaction(&self) -> &CanvasTransaction
pub fn kind(&self) -> CanvasLogEntryKind
pub fn committed_record_operations(&self) -> Option<&CanvasRecordOperationBatch>
pub fn committed_relation_operations( &self, ) -> Option<&CanvasRelationOperationBatch>
pub fn is_legacy_replay_entry(&self) -> bool
Trait Implementations§
Source§impl Clone for CanvasLogEntry
impl Clone for CanvasLogEntry
Source§fn clone(&self) -> CanvasLogEntry
fn clone(&self) -> CanvasLogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CanvasLogEntry
impl Debug for CanvasLogEntry
Source§impl<'de> Deserialize<'de> for CanvasLogEntry
impl<'de> Deserialize<'de> for CanvasLogEntry
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
Source§impl From<CanvasLogEntry> for CanvasPersistenceRecord
impl From<CanvasLogEntry> for CanvasPersistenceRecord
Source§fn from(value: CanvasLogEntry) -> Self
fn from(value: CanvasLogEntry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CanvasLogEntry
impl PartialEq for CanvasLogEntry
Source§fn eq(&self, other: &CanvasLogEntry) -> bool
fn eq(&self, other: &CanvasLogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CanvasLogEntry
impl Serialize for CanvasLogEntry
impl StructuralPartialEq for CanvasLogEntry
Auto Trait Implementations§
impl Freeze for CanvasLogEntry
impl RefUnwindSafe for CanvasLogEntry
impl Send for CanvasLogEntry
impl Sync for CanvasLogEntry
impl Unpin for CanvasLogEntry
impl UnsafeUnpin for CanvasLogEntry
impl UnwindSafe for CanvasLogEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more