Struct dropbox_sdk::file_properties::PropertyGroupUpdate [−][src]
#[non_exhaustive]pub struct PropertyGroupUpdate { pub template_id: TemplateId, pub add_or_update_fields: Option<Vec<PropertyField>>, pub remove_fields: Option<Vec<String>>, }
This is supported on crate feature
dbx_file_properties only.Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.template_id: TemplateIdA unique identifier for a property template.
add_or_update_fields: Option<Vec<PropertyField>>Property fields to update. If the property field already exists, it is updated. If the property field doesn’t exist, the property group is added.
remove_fields: Option<Vec<String>>Property fields to remove (by name), provided they exist.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PropertyGroupUpdateimpl Send for PropertyGroupUpdateimpl Sync for PropertyGroupUpdateimpl Unpin for PropertyGroupUpdateimpl UnwindSafe for PropertyGroupUpdateBlanket Implementations
Mutably borrows from an owned value. Read more