#[non_exhaustive]pub struct GetStorageReport {
pub start_date: String,
pub total_usage: NumberPerDay,
pub shared_usage: NumberPerDay,
pub unshared_usage: NumberPerDay,
pub shared_folders: NumberPerDay,
pub member_storage_map: Vec<Vec<StorageBucket>>,
}
async_routes
and dbx_team
only.Expand description
Storage Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.start_date: String
First date present in the results as ‘YYYY-MM-DD’ or None.
total_usage: NumberPerDay
Sum of the shared, unshared, and datastore usages, for each day.
Array of the combined size (bytes) of team members’ shared folders, for each day.
Array of the combined size (bytes) of team members’ root namespaces, for each day.
Array of the number of shared folders owned by team members, for each day.
member_storage_map: Vec<Vec<StorageBucket>>
Array of storage summaries of team members’ account sizes. Each storage summary is an array of key, value pairs, where each pair describes a storage bucket. The key indicates the upper bound of the bucket and the value is the number of users in that bucket. There is one such summary per day. If there is no data for a day, the storage summary will be empty.
Implementations§
Source§impl GetStorageReport
impl GetStorageReport
pub fn new( start_date: String, total_usage: NumberPerDay, shared_usage: NumberPerDay, unshared_usage: NumberPerDay, shared_folders: NumberPerDay, member_storage_map: Vec<Vec<StorageBucket>>, ) -> Self
Trait Implementations§
Source§impl Clone for GetStorageReport
impl Clone for GetStorageReport
Source§fn clone(&self) -> GetStorageReport
fn clone(&self) -> GetStorageReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetStorageReport
impl Debug for GetStorageReport
Source§impl<'de> Deserialize<'de> for GetStorageReport
impl<'de> Deserialize<'de> for GetStorageReport
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl From<GetStorageReport> for BaseDfbReport
impl From<GetStorageReport> for BaseDfbReport
Source§fn from(subtype: GetStorageReport) -> Self
fn from(subtype: GetStorageReport) -> Self
Source§impl PartialEq for GetStorageReport
impl PartialEq for GetStorageReport
Source§impl Serialize for GetStorageReport
impl Serialize for GetStorageReport
impl Eq for GetStorageReport
impl StructuralPartialEq for GetStorageReport
Auto Trait Implementations§
impl Freeze for GetStorageReport
impl RefUnwindSafe for GetStorageReport
impl Send for GetStorageReport
impl Sync for GetStorageReport
impl Unpin for GetStorageReport
impl UnwindSafe for GetStorageReport
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
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
key
and return true
if they are equal.