Struct fastobo_graphs::model::XrefPropertyValue
source · pub struct XrefPropertyValue {
pub pred: Option<String>,
pub val: String,
pub xrefs: Vec<String>,
pub meta: Option<Box<Meta>>,
pub label: Option<String>,
}
Fields§
§pred: Option<String>
§val: String
§xrefs: Vec<String>
§meta: Option<Box<Meta>>
§label: Option<String>
Trait Implementations§
source§impl Clone for XrefPropertyValue
impl Clone for XrefPropertyValue
source§fn clone(&self) -> XrefPropertyValue
fn clone(&self) -> XrefPropertyValue
Returns a copy of the value. Read more
1.0.0 · 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 XrefPropertyValue
impl Debug for XrefPropertyValue
source§impl<'de> Deserialize<'de> for XrefPropertyValue
impl<'de> Deserialize<'de> for XrefPropertyValue
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 FromGraph<XrefPropertyValue> for Xref
impl FromGraph<XrefPropertyValue> for Xref
source§fn from_graph(pv: XrefPropertyValue) -> Result<Self>
fn from_graph(pv: XrefPropertyValue) -> Result<Self>
Available on crate feature
obo
only.source§impl PartialEq<XrefPropertyValue> for XrefPropertyValue
impl PartialEq<XrefPropertyValue> for XrefPropertyValue
source§fn eq(&self, other: &XrefPropertyValue) -> bool
fn eq(&self, other: &XrefPropertyValue) -> bool
source§impl Serialize for XrefPropertyValue
impl Serialize for XrefPropertyValue
impl Eq for XrefPropertyValue
impl StructuralEq for XrefPropertyValue
impl StructuralPartialEq for XrefPropertyValue
Auto Trait Implementations§
impl RefUnwindSafe for XrefPropertyValue
impl Send for XrefPropertyValue
impl Sync for XrefPropertyValue
impl Unpin for XrefPropertyValue
impl UnwindSafe for XrefPropertyValue
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.