Struct dropbox_sdk::users::UserFeaturesGetValuesBatchArg
source · #[non_exhaustive]pub struct UserFeaturesGetValuesBatchArg {
pub features: Vec<UserFeature>,
}Available on crate feature
dbx_users only.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.features: Vec<UserFeature>A list of features in UserFeature. If the list is empty, this route will
return UserFeaturesGetValuesBatchError.
Implementations§
source§impl UserFeaturesGetValuesBatchArg
impl UserFeaturesGetValuesBatchArg
pub fn new(features: Vec<UserFeature>) -> Self
Trait Implementations§
source§impl Clone for UserFeaturesGetValuesBatchArg
impl Clone for UserFeaturesGetValuesBatchArg
source§fn clone(&self) -> UserFeaturesGetValuesBatchArg
fn clone(&self) -> UserFeaturesGetValuesBatchArg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'de> Deserialize<'de> for UserFeaturesGetValuesBatchArg
impl<'de> Deserialize<'de> for UserFeaturesGetValuesBatchArg
source§fn 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
source§impl PartialEq for UserFeaturesGetValuesBatchArg
impl PartialEq for UserFeaturesGetValuesBatchArg
source§fn eq(&self, other: &UserFeaturesGetValuesBatchArg) -> bool
fn eq(&self, other: &UserFeaturesGetValuesBatchArg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for UserFeaturesGetValuesBatchArg
impl StructuralPartialEq for UserFeaturesGetValuesBatchArg
Auto Trait Implementations§
impl Freeze for UserFeaturesGetValuesBatchArg
impl RefUnwindSafe for UserFeaturesGetValuesBatchArg
impl Send for UserFeaturesGetValuesBatchArg
impl Sync for UserFeaturesGetValuesBatchArg
impl Unpin for UserFeaturesGetValuesBatchArg
impl UnwindSafe for UserFeaturesGetValuesBatchArg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more