#[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 features
async_routes
and 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: u64
The total space currently used by the user’s team (bytes).
allocated: u64
The total space allocated to the user’s team (bytes).
user_within_team_space_allocated: u64
The 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: MemberSpaceLimitType
The type of the space limit imposed on the team member (off, alert_only, stop_sync).
user_within_team_space_used_cached: u64
An accurate cached calculation of a team member’s total space usage (bytes).
Implementations§
Trait Implementations§
Source§impl Clone for TeamSpaceAllocation
impl Clone for TeamSpaceAllocation
Source§fn clone(&self) -> TeamSpaceAllocation
fn clone(&self) -> TeamSpaceAllocation
Returns a duplicate 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 TeamSpaceAllocation
impl Debug for TeamSpaceAllocation
Source§impl<'de> Deserialize<'de> for TeamSpaceAllocation
impl<'de> Deserialize<'de> for TeamSpaceAllocation
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 TeamSpaceAllocation
impl PartialEq for TeamSpaceAllocation
Source§impl Serialize for TeamSpaceAllocation
impl Serialize for TeamSpaceAllocation
impl Eq for TeamSpaceAllocation
impl StructuralPartialEq for TeamSpaceAllocation
Auto Trait Implementations§
impl Freeze for TeamSpaceAllocation
impl RefUnwindSafe for TeamSpaceAllocation
impl Send for TeamSpaceAllocation
impl Sync for TeamSpaceAllocation
impl Unpin for TeamSpaceAllocation
impl UnwindSafe for TeamSpaceAllocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.