Struct dropbox_sdk::users::TeamSpaceAllocation
source · [−]#[non_exhaustive]pub struct TeamSpaceAllocation {
pub used: u64,
pub allocated: u64,
pub user_within_team_space_allocated: u64,
pub user_within_team_space_limit_type: MemberSpaceLimitType,
pub user_within_team_space_used_cached: u64,
}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.used: u64The total space currently used by the user’s team (bytes).
allocated: u64The total space allocated to the user’s team (bytes).
user_within_team_space_allocated: u64The total space allocated to the user within its team allocated space (0 means that no restriction is imposed on the user’s quota within its team).
user_within_team_space_limit_type: MemberSpaceLimitTypeThe type of the space limit imposed on the team member (off, alert_only, stop_sync).
user_within_team_space_used_cached: u64An accurate cached calculation of a team member’s total space usage (bytes).
Implementations
Trait Implementations
sourceimpl Clone for TeamSpaceAllocation
impl Clone for TeamSpaceAllocation
sourcefn clone(&self) -> TeamSpaceAllocation
fn clone(&self) -> TeamSpaceAllocation
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 TeamSpaceAllocation
impl Debug for TeamSpaceAllocation
sourceimpl<'de> Deserialize<'de> for TeamSpaceAllocation
impl<'de> Deserialize<'de> for TeamSpaceAllocation
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<TeamSpaceAllocation> for TeamSpaceAllocation
impl PartialEq<TeamSpaceAllocation> for TeamSpaceAllocation
sourcefn eq(&self, other: &TeamSpaceAllocation) -> bool
fn eq(&self, other: &TeamSpaceAllocation) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TeamSpaceAllocation) -> bool
fn ne(&self, other: &TeamSpaceAllocation) -> bool
This method tests for !=.
sourceimpl Serialize for TeamSpaceAllocation
impl Serialize for TeamSpaceAllocation
impl Eq for TeamSpaceAllocation
impl StructuralEq for TeamSpaceAllocation
impl StructuralPartialEq for TeamSpaceAllocation
Auto Trait Implementations
impl RefUnwindSafe for TeamSpaceAllocation
impl Send for TeamSpaceAllocation
impl Sync for TeamSpaceAllocation
impl Unpin for TeamSpaceAllocation
impl UnwindSafe for TeamSpaceAllocation
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