[][src]Struct dropbox_sdk::file_properties::PropertyGroupUpdate

pub struct PropertyGroupUpdate {
    pub template_id: TemplateId,
    pub add_or_update_fields: Option<Vec<PropertyField>>,
    pub remove_fields: Option<Vec<String>>,
}

Fields

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.

Methods

impl PropertyGroupUpdate[src]

pub fn new(template_id: TemplateId) -> Self[src]

pub fn with_add_or_update_fields(
    self,
    value: Option<Vec<PropertyField>>
) -> Self
[src]

pub fn with_remove_fields(self, value: Option<Vec<String>>) -> Self[src]

Trait Implementations

impl Debug for PropertyGroupUpdate[src]

impl Serialize for PropertyGroupUpdate[src]

impl<'de> Deserialize<'de> for PropertyGroupUpdate[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]