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

#[non_exhaustive]pub struct PropertyGroup {
    pub template_id: TemplateId,
    pub fields: Vec<PropertyField>,
}
This is supported on crate feature dbx_file_properties only.

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 (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 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 Clone for PropertyGroup[src]

impl Debug for PropertyGroup[src]

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

impl PartialEq<PropertyGroup> for PropertyGroup[src]

impl Serialize for PropertyGroup[src]

impl StructuralPartialEq 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.