#[non_exhaustive]pub struct GetActivityReport {Show 15 fields
pub start_date: String,
pub adds: NumberPerDay,
pub edits: NumberPerDay,
pub deletes: NumberPerDay,
pub active_users_28_day: NumberPerDay,
pub active_users_7_day: NumberPerDay,
pub active_users_1_day: NumberPerDay,
pub active_shared_folders_28_day: NumberPerDay,
pub active_shared_folders_7_day: NumberPerDay,
pub active_shared_folders_1_day: NumberPerDay,
pub shared_links_created: NumberPerDay,
pub shared_links_viewed_by_team: NumberPerDay,
pub shared_links_viewed_by_outside_user: NumberPerDay,
pub shared_links_viewed_by_not_logged_in: NumberPerDay,
pub shared_links_viewed_total: NumberPerDay,
}
async_routes
and dbx_team
only.Expand description
Activity 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.
adds: NumberPerDay
Array of total number of adds by team members.
edits: NumberPerDay
Array of number of edits by team members. If the same user edits the same file multiple times this is counted as a single edit.
deletes: NumberPerDay
Array of total number of deletes by team members.
active_users_28_day: NumberPerDay
Array of the number of users who have been active in the last 28 days.
active_users_7_day: NumberPerDay
Array of the number of users who have been active in the last week.
active_users_1_day: NumberPerDay
Array of the number of users who have been active in the last day.
Array of the number of shared folders with some activity in the last 28 days.
Array of the number of shared folders with some activity in the last week.
Array of the number of shared folders with some activity in the last day.
Array of the number of shared links created.
Array of the number of views by team users to shared links created by the team.
Array of the number of views by users outside of the team to shared links created by the team.
Array of the number of views by non-logged-in users to shared links created by the team.
Array of the total number of views to shared links created by the team.
Implementations§
Source§impl GetActivityReport
impl GetActivityReport
pub fn new( start_date: String, adds: NumberPerDay, edits: NumberPerDay, deletes: NumberPerDay, active_users_28_day: NumberPerDay, active_users_7_day: NumberPerDay, active_users_1_day: NumberPerDay, active_shared_folders_28_day: NumberPerDay, active_shared_folders_7_day: NumberPerDay, active_shared_folders_1_day: NumberPerDay, shared_links_created: NumberPerDay, shared_links_viewed_by_team: NumberPerDay, shared_links_viewed_by_outside_user: NumberPerDay, shared_links_viewed_by_not_logged_in: NumberPerDay, shared_links_viewed_total: NumberPerDay, ) -> Self
Trait Implementations§
Source§impl Clone for GetActivityReport
impl Clone for GetActivityReport
Source§fn clone(&self) -> GetActivityReport
fn clone(&self) -> GetActivityReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetActivityReport
impl Debug for GetActivityReport
Source§impl<'de> Deserialize<'de> for GetActivityReport
impl<'de> Deserialize<'de> for GetActivityReport
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<GetActivityReport> for BaseDfbReport
impl From<GetActivityReport> for BaseDfbReport
Source§fn from(subtype: GetActivityReport) -> Self
fn from(subtype: GetActivityReport) -> Self
Source§impl PartialEq for GetActivityReport
impl PartialEq for GetActivityReport
Source§impl Serialize for GetActivityReport
impl Serialize for GetActivityReport
impl Eq for GetActivityReport
impl StructuralPartialEq for GetActivityReport
Auto Trait Implementations§
impl Freeze for GetActivityReport
impl RefUnwindSafe for GetActivityReport
impl Send for GetActivityReport
impl Sync for GetActivityReport
impl Unpin for GetActivityReport
impl UnwindSafe for GetActivityReport
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.