pub struct DocNode {
pub id: String,
pub node_type: String,
pub fields: Map<String, Value>,
pub retracted: bool,
pub head: String,
pub added_seq: u64,
}Expand description
A doc node with its fields as folded.
Fields§
§id: String§node_type: String§fields: Map<String, Value>§retracted: bool§head: StringThe event a CAS write names as base_event.
added_seq: u64The seq of the node’s first node.add.
Implementations§
Trait Implementations§
impl StructuralPartialEq for DocNode
Auto Trait Implementations§
impl Forget for DocNode
impl Freeze for DocNode
impl Move for DocNode
impl RefUnwindSafe for DocNode
impl Send for DocNode
impl Sync for DocNode
impl Unpin for DocNode
impl UnsafeUnpin for DocNode
impl UnwindSafe for DocNode
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