pub struct JournaledTransaction {
pub checkpoint: JournalCheckpoint,
pub root_parent_mutations: Vec<Mutation>,
pub root_mutations: Vec<Mutation>,
pub non_root_mutations: Vec<(u64, Mutation)>,
pub end_offset: u64,
pub checksums: Vec<JournaledChecksums>,
pub end_flush: Option<(u64, u64)>,
pub volume_deleted: Option<u64>,
}
Fields§
§checkpoint: JournalCheckpoint
§root_parent_mutations: Vec<Mutation>
§root_mutations: Vec<Mutation>
§non_root_mutations: Vec<(u64, Mutation)>
List of (store_object_id, mutation).
end_offset: u64
§checksums: Vec<JournaledChecksums>
§end_flush: Option<(u64, u64)>
Records offset + 1 of the matching begin_flush transaction. The +1 is because we want to ignore the begin flush transaction; we don’t need or want to replay it.
volume_deleted: Option<u64>
The volume which was deleted in this transaction, if any.
Trait Implementations§
Source§impl Debug for JournaledTransaction
impl Debug for JournaledTransaction
Source§impl Default for JournaledTransaction
impl Default for JournaledTransaction
Source§fn default() -> JournaledTransaction
fn default() -> JournaledTransaction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JournaledTransaction
impl RefUnwindSafe for JournaledTransaction
impl Send for JournaledTransaction
impl Sync for JournaledTransaction
impl Unpin for JournaledTransaction
impl UnwindSafe for JournaledTransaction
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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