[][src]Struct dropbox_sdk::file_properties::PropertyGroup

pub struct PropertyGroup {
    pub template_id: TemplateId,
    pub fields: Vec<PropertyField>,
}

A subset of the property fields described by the corresponding PropertyGroupTemplate. Properties are always added to a Dropbox file as a PropertyGroup. The possible key names and value types in this group are defined by the corresponding PropertyGroupTemplate.

Fields

template_id: TemplateId

A unique identifier for the associated template.

fields: Vec<PropertyField>

The actual properties associated with the template. There can be up to 32 property types per template.

Implementations

impl PropertyGroup[src]

pub fn new(template_id: TemplateId, fields: Vec<PropertyField>) -> Self[src]

Trait Implementations

impl Debug for PropertyGroup[src]

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

impl Serialize for PropertyGroup[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> Typeable for T where
    T: Any