[][src]Struct dropbox_sdk::file_properties::UpdateTemplateArg

pub struct UpdateTemplateArg {
    pub template_id: TemplateId,
    pub name: Option<String>,
    pub description: Option<String>,
    pub add_fields: Option<Vec<PropertyFieldTemplate>>,
}

Fields

template_id: TemplateId

An identifier for template added by See templates_add_for_user() or templates_add_for_team().

name: Option<String>

A display name for the template. template names can be up to 256 bytes.

description: Option<String>

Description for the new template. Template descriptions can be up to 1024 bytes.

add_fields: Option<Vec<PropertyFieldTemplate>>

Property field templates to be added to the group template. There can be up to 32 properties in a single template.

Methods

impl UpdateTemplateArg[src]

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

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

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

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

Trait Implementations

impl Debug for UpdateTemplateArg[src]

impl Serialize for UpdateTemplateArg[src]

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

Auto Trait Implementations

Blanket Implementations

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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]