pub struct AddLabel {
pub external_id: String,
pub name: String,
pub description: Option<String>,
pub data_set_id: Option<i64>,
}Expand description
Create a label.
Fields§
§external_id: StringLabel external ID. Must be unique within the project.
name: StringHuman readable label name.
description: Option<String>Label description.
data_set_id: Option<i64>Data set this label belongs to.
Trait Implementations§
Source§impl Create<AddLabel, Label> for LabelsResource
impl Create<AddLabel, Label> for LabelsResource
Source§impl<'de> Deserialize<'de> for AddLabel
impl<'de> Deserialize<'de> for AddLabel
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
Auto Trait Implementations§
impl Freeze for AddLabel
impl RefUnwindSafe for AddLabel
impl Send for AddLabel
impl Sync for AddLabel
impl Unpin for AddLabel
impl UnwindSafe for AddLabel
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