pub struct RowVersion {
pub entity: String,
pub row_id: String,
pub version: u64,
pub data: Value,
pub changed_by: Option<String>,
pub changed_at: String,
}Expand description
A versioned snapshot of a row.
Fields§
§entity: String§row_id: String§version: u64§data: Value§changed_by: Option<String>§changed_at: StringTrait Implementations§
Source§impl Clone for RowVersion
impl Clone for RowVersion
Source§fn clone(&self) -> RowVersion
fn clone(&self) -> RowVersion
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 moreAuto Trait Implementations§
impl Freeze for RowVersion
impl RefUnwindSafe for RowVersion
impl Send for RowVersion
impl Sync for RowVersion
impl Unpin for RowVersion
impl UnsafeUnpin for RowVersion
impl UnwindSafe for RowVersion
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