pub struct FieldModification {
pub field_id: Option<String>,
pub kind: Option<String>,
pub set_date_values: Option<Vec<String>>,
pub set_text_values: Option<Vec<String>>,
pub set_selection_values: Option<Vec<String>>,
pub set_integer_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.
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<String>>Replaces the value of a date field with these new values.
The string must be in the RFC 3339 full-date format: YYYY-MM-DD.
set_text_values: Option<Vec<String>>Sets the value of a text field.
set_selection_values: Option<Vec<String>>Replaces a selection field with these new values.
set_integer_values: Option<Vec<String>>Replaces the value of an integer field with these new values.
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.
Implementations§
Trait Implementations§
Source§impl Clone for FieldModification
impl Clone for FieldModification
Source§fn clone(&self) -> FieldModification
fn clone(&self) -> FieldModification
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 FieldModification
impl Debug for FieldModification
Source§impl Default for FieldModification
impl Default for FieldModification
Source§fn default() -> FieldModification
fn default() -> FieldModification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FieldModification
impl<'de> Deserialize<'de> for FieldModification
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 Display for FieldModification
impl Display for FieldModification
Auto Trait Implementations§
impl Freeze for FieldModification
impl RefUnwindSafe for FieldModification
impl Send for FieldModification
impl Sync for FieldModification
impl Unpin for FieldModification
impl UnwindSafe for FieldModification
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