pub struct LabelFieldModification {
pub field_id: Option<String>,
pub kind: Option<String>,
pub set_date_values: Option<Vec<NaiveDate>>,
pub set_integer_values: Option<Vec<i64>>,
pub set_selection_values: Option<Vec<String>>,
pub set_text_values: Option<Vec<String>>,
pub set_user_values: Option<Vec<String>>,
pub unset_values: Option<bool>,
}
Expand description
A modification to a label’s field.
This type is not used in any activity, and only used as part of another schema.
Fields§
§field_id: Option<String>
The ID of the field to be modified.
kind: Option<String>
This is always drive#labelFieldModification
.
set_date_values: Option<Vec<NaiveDate>>
Replaces the value of a dateString Field with these new values. The string must be in the RFC 3339 full-date format: YYYY-MM-DD.
set_integer_values: Option<Vec<i64>>
Replaces the value of an integer
field with these new values.
set_selection_values: Option<Vec<String>>
Replaces a selection
field with these new values.
set_text_values: Option<Vec<String>>
Sets the value of a text
field.
set_user_values: Option<Vec<String>>
Replaces a user
field with these new values. The values must be valid email addresses.
unset_values: Option<bool>
Unsets the values for this field.
Trait Implementations§
Source§impl Clone for LabelFieldModification
impl Clone for LabelFieldModification
Source§fn clone(&self) -> LabelFieldModification
fn clone(&self) -> LabelFieldModification
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 LabelFieldModification
impl Debug for LabelFieldModification
Source§impl Default for LabelFieldModification
impl Default for LabelFieldModification
Source§fn default() -> LabelFieldModification
fn default() -> LabelFieldModification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LabelFieldModification
impl<'de> Deserialize<'de> for LabelFieldModification
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 Serialize for LabelFieldModification
impl Serialize for LabelFieldModification
impl Part for LabelFieldModification
Auto Trait Implementations§
impl Freeze for LabelFieldModification
impl RefUnwindSafe for LabelFieldModification
impl Send for LabelFieldModification
impl Sync for LabelFieldModification
impl Unpin for LabelFieldModification
impl UnwindSafe for LabelFieldModification
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more