pub struct SnapshotLedgerEntry {
pub entry_id: LedgerEntryId,
pub tenant_id: TenantId,
pub ledger_key: String,
pub actor_id: Option<ActorId>,
pub payload: Vec<u8>,
pub timestamp: u64,
}Expand description
Snapshot representation of a ledger entry.
Fields§
§entry_id: LedgerEntryId§tenant_id: TenantId§ledger_key: String§actor_id: Option<ActorId>§payload: Vec<u8>§timestamp: u64Trait Implementations§
Source§impl Clone for SnapshotLedgerEntry
impl Clone for SnapshotLedgerEntry
Source§fn clone(&self) -> SnapshotLedgerEntry
fn clone(&self) -> SnapshotLedgerEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotLedgerEntry
impl Debug for SnapshotLedgerEntry
Source§impl<'de> Deserialize<'de> for SnapshotLedgerEntry
impl<'de> Deserialize<'de> for SnapshotLedgerEntry
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 PartialEq for SnapshotLedgerEntry
impl PartialEq for SnapshotLedgerEntry
Source§impl Serialize for SnapshotLedgerEntry
impl Serialize for SnapshotLedgerEntry
impl Eq for SnapshotLedgerEntry
impl StructuralPartialEq for SnapshotLedgerEntry
Auto Trait Implementations§
impl Freeze for SnapshotLedgerEntry
impl RefUnwindSafe for SnapshotLedgerEntry
impl Send for SnapshotLedgerEntry
impl Sync for SnapshotLedgerEntry
impl Unpin for SnapshotLedgerEntry
impl UnsafeUnpin for SnapshotLedgerEntry
impl UnwindSafe for SnapshotLedgerEntry
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