Struct dropbox_sdk::sharing::InsufficientQuotaAmounts
source · [−]#[non_exhaustive]pub struct InsufficientQuotaAmounts {
pub space_needed: u64,
pub space_shortage: u64,
pub space_left: u64,
}Available on crate feature
dbx_sharing 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.space_needed: u64The amount of space needed to add the item (the size of the item).
space_shortage: u64The amount of extra space needed to add the item.
space_left: u64The amount of space left in the user’s Dropbox, less than space_needed.
Implementations
Trait Implementations
sourceimpl Clone for InsufficientQuotaAmounts
impl Clone for InsufficientQuotaAmounts
sourcefn clone(&self) -> InsufficientQuotaAmounts
fn clone(&self) -> InsufficientQuotaAmounts
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 InsufficientQuotaAmounts
impl Debug for InsufficientQuotaAmounts
sourceimpl<'de> Deserialize<'de> for InsufficientQuotaAmounts
impl<'de> Deserialize<'de> for InsufficientQuotaAmounts
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<InsufficientQuotaAmounts> for InsufficientQuotaAmounts
impl PartialEq<InsufficientQuotaAmounts> for InsufficientQuotaAmounts
sourcefn eq(&self, other: &InsufficientQuotaAmounts) -> bool
fn eq(&self, other: &InsufficientQuotaAmounts) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InsufficientQuotaAmounts) -> bool
fn ne(&self, other: &InsufficientQuotaAmounts) -> bool
This method tests for !=.
sourceimpl Serialize for InsufficientQuotaAmounts
impl Serialize for InsufficientQuotaAmounts
impl Eq for InsufficientQuotaAmounts
impl StructuralEq for InsufficientQuotaAmounts
impl StructuralPartialEq for InsufficientQuotaAmounts
Auto Trait Implementations
impl RefUnwindSafe for InsufficientQuotaAmounts
impl Send for InsufficientQuotaAmounts
impl Sync for InsufficientQuotaAmounts
impl Unpin for InsufficientQuotaAmounts
impl UnwindSafe for InsufficientQuotaAmounts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more