pub struct ClassificationLabelFieldValue {
pub field_id: Option<String>,
pub selection: Option<String>,
}Expand description
Field values for a classification label.
This type is not used in any activity, and only used as part of another schema.
Fields§
§field_id: Option<String>Required. The field ID for the Classification Label Value. Maps to the ID field of the Google Drive Label.Field object.
selection: Option<String>Selection choice ID for the selection option. Should only be set if the field type is SELECTION in the Google Drive Label.Field object. Maps to the id field of the Google Drive Label.Field.SelectionOptions resource.
Trait Implementations§
Source§impl Clone for ClassificationLabelFieldValue
impl Clone for ClassificationLabelFieldValue
Source§fn clone(&self) -> ClassificationLabelFieldValue
fn clone(&self) -> ClassificationLabelFieldValue
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 Default for ClassificationLabelFieldValue
impl Default for ClassificationLabelFieldValue
Source§fn default() -> ClassificationLabelFieldValue
fn default() -> ClassificationLabelFieldValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClassificationLabelFieldValue
impl<'de> Deserialize<'de> for ClassificationLabelFieldValue
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
impl Part for ClassificationLabelFieldValue
Auto Trait Implementations§
impl Freeze for ClassificationLabelFieldValue
impl RefUnwindSafe for ClassificationLabelFieldValue
impl Send for ClassificationLabelFieldValue
impl Sync for ClassificationLabelFieldValue
impl Unpin for ClassificationLabelFieldValue
impl UnwindSafe for ClassificationLabelFieldValue
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