Struct dropbox_sdk::file_properties::PropertyGroup [−][src]
#[non_exhaustive]pub struct PropertyGroup { pub template_id: TemplateId, pub fields: Vec<PropertyField>, }
dbx_file_properties only.A subset of the property fields described by the corresponding
PropertyGroupTemplate. Properties are always added to a Dropbox file
as a PropertyGroup. The possible key names and value types in this group are
defined by the corresponding PropertyGroupTemplate.
Fields (Non-exhaustive)
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.template_id: TemplateIdA unique identifier for the associated template.
fields: Vec<PropertyField>The actual properties associated with the template. There can be up to 32 property types per template.
Implementations
impl PropertyGroup[src]
impl PropertyGroup[src]pub fn new(template_id: TemplateId, fields: Vec<PropertyField>) -> Self[src]
Trait Implementations
impl Clone for PropertyGroup[src]
impl Clone for PropertyGroup[src]fn clone(&self) -> PropertyGroup[src]
fn clone(&self) -> PropertyGroup[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for PropertyGroup[src]
impl Debug for PropertyGroup[src]impl<'de> Deserialize<'de> for PropertyGroup[src]
impl<'de> Deserialize<'de> for PropertyGroup[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PropertyGroup> for PropertyGroup[src]
impl PartialEq<PropertyGroup> for PropertyGroup[src]fn eq(&self, other: &PropertyGroup) -> bool[src]
fn eq(&self, other: &PropertyGroup) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &PropertyGroup) -> bool[src]
fn ne(&self, other: &PropertyGroup) -> bool[src]This method tests for !=.
impl Serialize for PropertyGroup[src]
impl Serialize for PropertyGroup[src]impl StructuralPartialEq for PropertyGroup[src]
Auto Trait Implementations
impl RefUnwindSafe for PropertyGroup
impl Send for PropertyGroup
impl Sync for PropertyGroup
impl Unpin for PropertyGroup
impl UnwindSafe for PropertyGroup
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,