Struct dropbox_sdk::team::GetDevicesReport
source · [−]#[non_exhaustive]pub struct GetDevicesReport {
pub start_date: String,
pub active_1_day: DevicesActive,
pub active_7_day: DevicesActive,
pub active_28_day: DevicesActive,
}dbx_team only.Expand description
Devices Report Result. Contains subsections for different time ranges of activity. Each of the items in each subsection of 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.
active_1_day: DevicesActiveReport of the number of devices active in the last day.
active_7_day: DevicesActiveReport of the number of devices active in the last 7 days.
active_28_day: DevicesActiveReport of the number of devices active in the last 28 days.
Implementations
sourceimpl GetDevicesReport
impl GetDevicesReport
pub fn new(
start_date: String,
active_1_day: DevicesActive,
active_7_day: DevicesActive,
active_28_day: DevicesActive
) -> Self
Trait Implementations
sourceimpl Clone for GetDevicesReport
impl Clone for GetDevicesReport
sourcefn clone(&self) -> GetDevicesReport
fn clone(&self) -> GetDevicesReport
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 GetDevicesReport
impl Debug for GetDevicesReport
sourceimpl<'de> Deserialize<'de> for GetDevicesReport
impl<'de> Deserialize<'de> for GetDevicesReport
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<GetDevicesReport> for GetDevicesReport
impl PartialEq<GetDevicesReport> for GetDevicesReport
sourcefn eq(&self, other: &GetDevicesReport) -> bool
fn eq(&self, other: &GetDevicesReport) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetDevicesReport) -> bool
fn ne(&self, other: &GetDevicesReport) -> bool
This method tests for !=.
sourceimpl Serialize for GetDevicesReport
impl Serialize for GetDevicesReport
impl Eq for GetDevicesReport
impl StructuralEq for GetDevicesReport
impl StructuralPartialEq for GetDevicesReport
Auto Trait Implementations
impl RefUnwindSafe for GetDevicesReport
impl Send for GetDevicesReport
impl Sync for GetDevicesReport
impl Unpin for GetDevicesReport
impl UnwindSafe for GetDevicesReport
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