Struct dropbox_sdk::file_properties::PropertyGroupUpdate [−][src]
This is supported on crate feature
dbx_file_properties
only.Fields (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: TemplateId
A 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
impl PropertyGroupUpdate
[src]
pub fn new(template_id: TemplateId) -> Self
[src]
pub fn with_add_or_update_fields(self, value: Vec<PropertyField>) -> Self
[src]
pub fn with_remove_fields(self, value: Vec<String>) -> Self
[src]
Trait Implementations
impl Clone for PropertyGroupUpdate
[src]
fn clone(&self) -> PropertyGroupUpdate
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PropertyGroupUpdate
[src]
impl<'de> Deserialize<'de> for PropertyGroupUpdate
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl PartialEq<PropertyGroupUpdate> for PropertyGroupUpdate
[src]
fn eq(&self, other: &PropertyGroupUpdate) -> bool
[src]
fn ne(&self, other: &PropertyGroupUpdate) -> bool
[src]
impl Serialize for PropertyGroupUpdate
[src]
impl StructuralPartialEq for PropertyGroupUpdate
[src]
Auto Trait Implementations
impl RefUnwindSafe for PropertyGroupUpdate
impl Send for PropertyGroupUpdate
impl Sync for PropertyGroupUpdate
impl Unpin for PropertyGroupUpdate
impl UnwindSafe for PropertyGroupUpdate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,