Struct dropbox_sdk::file_properties::PropertyField
source · [−]dbx_file_properties
only.Expand description
Raw key/value data to be associated with a Dropbox file. Property fields are added to Dropbox
files as a PropertyGroup
.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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
Trait Implementations
sourceimpl Clone for PropertyField
impl Clone for PropertyField
sourcefn clone(&self) -> PropertyField
fn clone(&self) -> PropertyField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PropertyField
impl Debug for PropertyField
sourceimpl<'de> Deserialize<'de> for PropertyField
impl<'de> Deserialize<'de> for PropertyField
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PropertyField> for PropertyField
impl PartialEq<PropertyField> for PropertyField
sourcefn eq(&self, other: &PropertyField) -> bool
fn eq(&self, other: &PropertyField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PropertyField) -> bool
fn ne(&self, other: &PropertyField) -> bool
This method tests for !=
.
sourceimpl Serialize for PropertyField
impl Serialize for PropertyField
impl StructuralPartialEq for PropertyField
Auto Trait Implementations
impl RefUnwindSafe for PropertyField
impl Send for PropertyField
impl Sync for PropertyField
impl Unpin for PropertyField
impl UnwindSafe for PropertyField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more