[][src]Struct dropbox_sdk::file_properties::PropertyFieldTemplate

pub struct PropertyFieldTemplate {
    pub name: String,
    pub description: String,
    pub type_field: PropertyType,
}

Defines how a single property field may be structured. Used exclusively by PropertyGroupTemplate.

Fields

name: String

Key of the property field being described. Property field keys can be up to 256 bytes.

description: String

Description of the property field. Property field descriptions can be up to 1024 bytes.

type_field: PropertyType

Data type of the value of this property field. This type will be enforced upon property creation and modifications.

Implementations

impl PropertyFieldTemplate[src]

pub fn new(name: String, description: String, type_field: PropertyType) -> Self[src]

Trait Implementations

impl Debug for PropertyFieldTemplate[src]

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

impl Serialize for PropertyFieldTemplate[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.