pub struct OntologyVersion(pub String);Expand description
Wraps an ontology checksum or semver string for embedding in a GraphPlan.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for OntologyVersion
impl Clone for OntologyVersion
Source§fn clone(&self) -> OntologyVersion
fn clone(&self) -> OntologyVersion
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 moreSource§impl Debug for OntologyVersion
impl Debug for OntologyVersion
Source§impl<'de> Deserialize<'de> for OntologyVersion
impl<'de> Deserialize<'de> for OntologyVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OntologyVersion
impl Display for OntologyVersion
impl Eq for OntologyVersion
Source§impl Hash for OntologyVersion
impl Hash for OntologyVersion
Source§impl PartialEq for OntologyVersion
impl PartialEq for OntologyVersion
Source§impl Serialize for OntologyVersion
impl Serialize for OntologyVersion
impl StructuralPartialEq for OntologyVersion
Auto Trait Implementations§
impl Freeze for OntologyVersion
impl RefUnwindSafe for OntologyVersion
impl Send for OntologyVersion
impl Sync for OntologyVersion
impl Unpin for OntologyVersion
impl UnsafeUnpin for OntologyVersion
impl UnwindSafe for OntologyVersion
Blanket Implementations§
impl<T> Allocation for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.