pub struct NewLabelDef {
pub name: Name,
pub title: Option<String>,
pub instructions: Option<String>,
pub external_id: Option<String>,
pub pretrained: Option<NewLabelDefPretrained>,
pub trainable: Option<bool>,
pub moon_form: Option<Vec<MoonFormFieldDef>>,
}
Fields§
§name: Name
§title: Option<String>
§instructions: Option<String>
§external_id: Option<String>
§pretrained: Option<NewLabelDefPretrained>
§trainable: Option<bool>
§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 duplicate 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§impl Serialize for NewLabelDef
impl Serialize for NewLabelDef
Source§impl TryFrom<&LabelDef> for NewLabelDef
impl TryFrom<&LabelDef> 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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.