pub struct Ent {
pub kind: &'static str,
pub key: String,
pub data: Value,
pub rev: String,
pub history: Option<Value>,
}Expand description
One storable unit of the document.
Fields§
§kind: &'static str§key: StringUnique within kind.
data: ValueThe JSON stored in the row (for entries, without version_history).
rev: String§history: Option<Value>An entry’s version_history, kept apart from its row.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ent
impl RefUnwindSafe for Ent
impl Send for Ent
impl Sync for Ent
impl Unpin for Ent
impl UnsafeUnpin for Ent
impl UnwindSafe for Ent
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