[][src]Struct dropbox_sdk::file_properties::PropertyField

pub struct PropertyField {
    pub name: String,
    pub value: String,
}

Raw key/value data to be associated with a Dropbox file. Property fields are added to Dropbox files as a PropertyGroup.

Fields

name: String

Key of the property field associated with a file and template. Keys can be up to 256 bytes.

value: String

Value of the property field associated with a file and template. Values can be up to 1024 bytes.

Implementations

impl PropertyField[src]

pub fn new(name: String, value: String) -> Self[src]

Trait Implementations

impl Debug for PropertyField[src]

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

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