pub struct Synonym {
pub name: String,
pub category: Option<SynonymCategory>,
pub type: Option<SynonymType>,
pub xrefs: Vec<TermId>,
}Fields§
§name: String§category: Option<SynonymCategory>§type: Option<SynonymType>§xrefs: Vec<TermId>Trait Implementations§
Source§impl Ord for Synonym
impl Ord for Synonym
Source§impl PartialOrd for Synonym
impl PartialOrd for Synonym
Source§impl TryFrom<SynonymPropertyValue> for Synonym
impl TryFrom<SynonymPropertyValue> for Synonym
Source§type Error = SynonymParseError
type Error = SynonymParseError
The type returned in the event of a conversion error.
impl Eq for Synonym
impl StructuralPartialEq for Synonym
Auto Trait Implementations§
impl Freeze for Synonym
impl RefUnwindSafe for Synonym
impl Send for Synonym
impl Sync for Synonym
impl Unpin for Synonym
impl UnwindSafe for Synonym
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more