pub enum Operation {
Show 13 variants
Read,
Create,
Update,
Delete,
Search,
Link,
Traverse,
Send,
Recall,
Remember,
Assign,
Complete,
Export,
}Variants§
Read
Create
Update
Delete
Search
Link
Traverse
Send
Recall
Remember
Assign
Complete
Export
Read-only graph export.
Implementations§
Source§impl Operation
impl Operation
pub fn required_right(self) -> Right
Sourcepub fn binding_right(self) -> Right
pub fn binding_right(self) -> Right
Collapse the same operation classification to Read/Write binding rights.
Read-only operations require Read; all mutations require Write. This is
distinct from the finer Create/Delete/Send bits of required_right.
The exhaustive match refuses to silently classify a new operation.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Operation
impl Freeze for Operation
impl Move for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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