Struct dropbox_sdk::team::GetActivityReport
source · [−]#[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,
}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: StringFirst date present in the results as ‘YYYY-MM-DD’ or None.
adds: NumberPerDayArray of total number of adds by team members.
edits: NumberPerDayArray 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: NumberPerDayArray of total number of deletes by team members.
active_users_28_day: NumberPerDayArray of the number of users who have been active in the last 28 days.
active_users_7_day: NumberPerDayArray of the number of users who have been active in the last week.
active_users_1_day: NumberPerDayArray 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
sourceimpl 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
sourceimpl Clone for GetActivityReport
impl Clone for GetActivityReport
sourcefn clone(&self) -> GetActivityReport
fn clone(&self) -> GetActivityReport
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 GetActivityReport
impl Debug for GetActivityReport
sourceimpl<'de> Deserialize<'de> for GetActivityReport
impl<'de> Deserialize<'de> for GetActivityReport
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<GetActivityReport> for GetActivityReport
impl PartialEq<GetActivityReport> for GetActivityReport
sourcefn eq(&self, other: &GetActivityReport) -> bool
fn eq(&self, other: &GetActivityReport) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetActivityReport) -> bool
fn ne(&self, other: &GetActivityReport) -> bool
This method tests for !=.
sourceimpl Serialize for GetActivityReport
impl Serialize for GetActivityReport
impl Eq for GetActivityReport
impl StructuralEq for GetActivityReport
impl StructuralPartialEq for GetActivityReport
Auto Trait Implementations
impl RefUnwindSafe for GetActivityReport
impl Send for GetActivityReport
impl Sync for GetActivityReport
impl Unpin for GetActivityReport
impl UnwindSafe for GetActivityReport
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