Enum reinfer_client::resources::comment::EitherLabelling
source · pub enum EitherLabelling {
Labelling(Vec<NewLabelling>),
LegacyLabelling(NewLegacyLabelling),
}
Variants§
Labelling(Vec<NewLabelling>)
LegacyLabelling(NewLegacyLabelling)
Trait Implementations§
source§impl Clone for EitherLabelling
impl Clone for EitherLabelling
source§fn clone(&self) -> EitherLabelling
fn clone(&self) -> EitherLabelling
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 EitherLabelling
impl Debug for EitherLabelling
source§impl<'de> Deserialize<'de> for EitherLabelling
impl<'de> Deserialize<'de> for EitherLabelling
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 From<EitherLabelling> for Vec<NewLabelling>
impl From<EitherLabelling> for Vec<NewLabelling>
source§fn from(either_labelling: EitherLabelling) -> Vec<NewLabelling>
fn from(either_labelling: EitherLabelling) -> Vec<NewLabelling>
Converts to this type from the input type.
source§impl HasAnnotations for EitherLabelling
impl HasAnnotations for EitherLabelling
fn has_annotations(&self) -> bool
source§impl PartialEq for EitherLabelling
impl PartialEq for EitherLabelling
source§fn eq(&self, other: &EitherLabelling) -> bool
fn eq(&self, other: &EitherLabelling) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EitherLabelling
impl Serialize for EitherLabelling
impl Eq for EitherLabelling
impl StructuralPartialEq for EitherLabelling
Auto Trait Implementations§
impl Freeze for EitherLabelling
impl RefUnwindSafe for EitherLabelling
impl Send for EitherLabelling
impl Sync for EitherLabelling
impl Unpin for EitherLabelling
impl UnwindSafe for EitherLabelling
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<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.