pub enum OpView<'a> {
Upsert(UpsertView<'a>),
Segs(SegsView<'a>),
Edges(EdgesView<'a>),
Touch(TouchView<'a>),
Remove(UrlKey),
Pin(UrlKey, bool),
Attrs(AttrsView<'a>),
}Expand description
One op, validated (see validate_op) and read in place.
Variants§
Upsert(UpsertView<'a>)
Create or replace a document node’s core record.
Segs(SegsView<'a>)
Replace the node’s segment set.
Edges(EdgesView<'a>)
Replace the node’s outbound edge set.
Touch(TouchView<'a>)
A revalidation outcome with its freshness state.
Remove(UrlKey)
Hard-delete the node.
Pin(UrlKey, bool)
Pin (true) or unpin the node.
Attrs(AttrsView<'a>)
Replace the node’s attribute set.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OpView<'a>
impl<'a> RefUnwindSafe for OpView<'a>
impl<'a> Send for OpView<'a>
impl<'a> Sync for OpView<'a>
impl<'a> Unpin for OpView<'a>
impl<'a> UnsafeUnpin for OpView<'a>
impl<'a> UnwindSafe for OpView<'a>
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