pub enum OntologyOp<'a> {
Set(&'a str),
Drop,
}Expand description
Typed view of a store-level ontology document op (ADR-0120 §3), the
classification RedoOp::ontology_op returns: Set borrows the
verbatim document, Drop carries nothing. Consumers match this once
instead of re-matching the redo variants.
Variants§
Trait Implementations§
Source§impl<'a> Clone for OntologyOp<'a>
impl<'a> Clone for OntologyOp<'a>
Source§fn clone(&self) -> OntologyOp<'a>
fn clone(&self) -> OntologyOp<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for OntologyOp<'a>
Source§impl<'a> Debug for OntologyOp<'a>
impl<'a> Debug for OntologyOp<'a>
impl<'a> Eq for OntologyOp<'a>
Source§impl<'a> PartialEq for OntologyOp<'a>
impl<'a> PartialEq for OntologyOp<'a>
impl<'a> StructuralPartialEq for OntologyOp<'a>
Auto Trait Implementations§
impl<'a> Forget for OntologyOp<'a>
impl<'a> Freeze for OntologyOp<'a>
impl<'a> Move for OntologyOp<'a>
impl<'a> RefUnwindSafe for OntologyOp<'a>
impl<'a> Send for OntologyOp<'a>
impl<'a> Sync for OntologyOp<'a>
impl<'a> Unpin for OntologyOp<'a>
impl<'a> UnsafeUnpin for OntologyOp<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for OntologyOp<'a>where
&'a str: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.