Struct dropbox_sdk::file_properties::PropertyFieldTemplate [−][src]
#[non_exhaustive]pub struct PropertyFieldTemplate {
pub name: String,
pub description: String,
pub type_field: PropertyType,
}
This is supported on crate feature
dbx_file_properties
only.Expand description
Defines how a single property field may be structured. Used exclusively by
PropertyGroupTemplate
.
Fields (Non-exhaustive)
This struct is marked as 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.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
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PropertyFieldTemplate
impl Send for PropertyFieldTemplate
impl Sync for PropertyFieldTemplate
impl Unpin for PropertyFieldTemplate
impl UnwindSafe for PropertyFieldTemplate
Blanket Implementations
Mutably borrows from an owned value. Read more