Struct dropbox_sdk::sharing::AudienceExceptions
source · #[non_exhaustive]pub struct AudienceExceptions {
pub count: u32,
pub exceptions: Vec<AudienceExceptionContentInfo>,
}Expand description
The total count and truncated list of information of content inside this folder that has a different audience than the link on this folder. This is only returned for folders.
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.count: u32§exceptions: Vec<AudienceExceptionContentInfo>A truncated list of some of the content that is an exception. The length of this list could be smaller than the count since it is only a sample but will not be empty as long as count is not 0.
Implementations§
source§impl AudienceExceptions
impl AudienceExceptions
pub fn new(count: u32, exceptions: Vec<AudienceExceptionContentInfo>) -> Self
Available on crate feature
dbx_sharing only.Trait Implementations§
source§impl Clone for AudienceExceptions
Available on crate feature dbx_sharing only.
impl Clone for AudienceExceptions
Available on crate feature
dbx_sharing only.source§fn clone(&self) -> AudienceExceptions
fn clone(&self) -> AudienceExceptions
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 Debug for AudienceExceptions
Available on crate feature dbx_sharing only.
impl Debug for AudienceExceptions
Available on crate feature
dbx_sharing only.source§impl<'de> Deserialize<'de> for AudienceExceptions
Available on crate feature dbx_sharing only.
impl<'de> Deserialize<'de> for AudienceExceptions
Available on crate feature
dbx_sharing only.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 AudienceExceptions
Available on crate feature dbx_sharing only.
impl PartialEq for AudienceExceptions
Available on crate feature
dbx_sharing only.source§fn eq(&self, other: &AudienceExceptions) -> bool
fn eq(&self, other: &AudienceExceptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AudienceExceptions
Available on crate feature dbx_sharing only.
impl Serialize for AudienceExceptions
Available on crate feature
dbx_sharing only.impl Eq for AudienceExceptions
Available on crate feature
dbx_sharing only.impl StructuralEq for AudienceExceptions
Available on crate feature
dbx_sharing only.impl StructuralPartialEq for AudienceExceptions
Available on crate feature
dbx_sharing only.Auto Trait Implementations§
impl RefUnwindSafe for AudienceExceptions
impl Send for AudienceExceptions
impl Sync for AudienceExceptions
impl Unpin for AudienceExceptions
impl UnwindSafe for AudienceExceptions
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