Struct google_driveactivity2::api::FieldValueChange
source · pub struct FieldValueChange {
pub display_name: Option<String>,
pub field_id: Option<String>,
pub new_value: Option<FieldValue>,
pub old_value: Option<FieldValue>,
}
Expand description
Change to a Field value.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>
The human-readable display name for this field.
field_id: Option<String>
The ID of this field. Field IDs are unique within a Label.
new_value: Option<FieldValue>
The value that is now set on the field. If not present, the field was cleared. At least one of {old_value|new_value} is always set.
old_value: Option<FieldValue>
The value that was previously set on the field. If not present, the field was newly set. At least one of {old_value|new_value} is always set.
Trait Implementations§
source§impl Clone for FieldValueChange
impl Clone for FieldValueChange
source§fn clone(&self) -> FieldValueChange
fn clone(&self) -> FieldValueChange
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 FieldValueChange
impl Debug for FieldValueChange
source§impl Default for FieldValueChange
impl Default for FieldValueChange
source§fn default() -> FieldValueChange
fn default() -> FieldValueChange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FieldValueChange
impl<'de> Deserialize<'de> for FieldValueChange
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 FieldValueChange
impl Serialize for FieldValueChange
impl Part for FieldValueChange
Auto Trait Implementations§
impl RefUnwindSafe for FieldValueChange
impl Send for FieldValueChange
impl Sync for FieldValueChange
impl Unpin for FieldValueChange
impl UnwindSafe for FieldValueChange
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