pub struct RowRecord {
pub id: String,
pub data: Value,
pub created_at: i64,
pub updated_at: i64,
}Expand description
A single stored row returned by CRUD operations.
The data field contains the raw JSON object that was supplied at
creation / update time. created_at and updated_at are Unix epoch
seconds.
Fields§
§id: StringUnique row identifier (UUID v4 string).
data: ValueThe validated JSON payload stored for this row.
created_at: i64Unix epoch seconds at the time the row was created.
updated_at: i64Unix epoch seconds at the time the row was last updated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RowRecord
impl RefUnwindSafe for RowRecord
impl Send for RowRecord
impl Sync for RowRecord
impl Unpin for RowRecord
impl UnsafeUnpin for RowRecord
impl UnwindSafe for RowRecord
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