#[non_exhaustive]pub struct GetMembershipReport {
pub start_date: String,
pub team_size: NumberPerDay,
pub pending_invites: NumberPerDay,
pub members_joined: NumberPerDay,
pub suspended_members: NumberPerDay,
pub licenses: NumberPerDay,
}
Available on crate features
async_routes
and dbx_team
only.Expand description
Membership 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
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.start_date: String
First date present in the results as ‘YYYY-MM-DD’ or None.
team_size: NumberPerDay
Team size, for each day.
pending_invites: NumberPerDay
The number of pending invites to the team, for each day.
members_joined: NumberPerDay
The number of members that joined the team, for each day.
suspended_members: NumberPerDay
The number of suspended team members, for each day.
licenses: NumberPerDay
The total number of licenses the team has, for each day.
Implementations§
Source§impl GetMembershipReport
impl GetMembershipReport
pub fn new( start_date: String, team_size: NumberPerDay, pending_invites: NumberPerDay, members_joined: NumberPerDay, suspended_members: NumberPerDay, licenses: NumberPerDay, ) -> Self
Trait Implementations§
Source§impl Clone for GetMembershipReport
impl Clone for GetMembershipReport
Source§fn clone(&self) -> GetMembershipReport
fn clone(&self) -> GetMembershipReport
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 GetMembershipReport
impl Debug for GetMembershipReport
Source§impl<'de> Deserialize<'de> for GetMembershipReport
impl<'de> Deserialize<'de> for GetMembershipReport
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 From<GetMembershipReport> for BaseDfbReport
impl From<GetMembershipReport> for BaseDfbReport
Source§fn from(subtype: GetMembershipReport) -> Self
fn from(subtype: GetMembershipReport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetMembershipReport
impl PartialEq for GetMembershipReport
Source§impl Serialize for GetMembershipReport
impl Serialize for GetMembershipReport
impl Eq for GetMembershipReport
impl StructuralPartialEq for GetMembershipReport
Auto Trait Implementations§
impl Freeze for GetMembershipReport
impl RefUnwindSafe for GetMembershipReport
impl Send for GetMembershipReport
impl Sync for GetMembershipReport
impl Unpin for GetMembershipReport
impl UnwindSafe for GetMembershipReport
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.