Struct reinfer_client::resources::label_def::NewLabelDef
source · pub struct NewLabelDef {
pub name: Name,
pub description: Option<String>,
pub external_id: Option<String>,
pub pretrained: Option<NewLabelDefPretrained>,
pub title: Option<String>,
pub moon_form: Option<Vec<MoonFormFieldDef>>,
}
Fields§
§name: Name
§description: Option<String>
§external_id: Option<String>
§pretrained: Option<NewLabelDefPretrained>
§title: Option<String>
§moon_form: Option<Vec<MoonFormFieldDef>>
Trait Implementations§
source§impl Clone for NewLabelDef
impl Clone for NewLabelDef
source§fn clone(&self) -> NewLabelDef
fn clone(&self) -> NewLabelDef
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 NewLabelDef
impl Debug for NewLabelDef
source§impl<'de> Deserialize<'de> for NewLabelDef
impl<'de> Deserialize<'de> for NewLabelDef
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 PartialEq for NewLabelDef
impl PartialEq for NewLabelDef
source§fn eq(&self, other: &NewLabelDef) -> bool
fn eq(&self, other: &NewLabelDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NewLabelDef
impl Serialize for NewLabelDef
impl Eq for NewLabelDef
impl StructuralPartialEq for NewLabelDef
Auto Trait Implementations§
impl Freeze for NewLabelDef
impl RefUnwindSafe for NewLabelDef
impl Send for NewLabelDef
impl Sync for NewLabelDef
impl Unpin for NewLabelDef
impl UnwindSafe for NewLabelDef
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.