Struct dropbox_sdk::team::DevicesActive
source · [−]#[non_exhaustive]pub struct DevicesActive {
pub windows: NumberPerDay,
pub macos: NumberPerDay,
pub linux: NumberPerDay,
pub ios: NumberPerDay,
pub android: NumberPerDay,
pub other: NumberPerDay,
pub total: NumberPerDay,
}dbx_team only.Expand description
Each of the items is an array of values, one value per day. The value is the number of devices active within a time window, ending with that 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.windows: NumberPerDayArray of number of linked windows (desktop) clients with activity.
macos: NumberPerDayArray of number of linked mac (desktop) clients with activity.
linux: NumberPerDayArray of number of linked linus (desktop) clients with activity.
ios: NumberPerDayArray of number of linked ios devices with activity.
android: NumberPerDayArray of number of linked android devices with activity.
other: NumberPerDayArray of number of other linked devices (blackberry, windows phone, etc) with activity.
total: NumberPerDayArray of total number of linked clients with activity.
Implementations
sourceimpl DevicesActive
impl DevicesActive
pub fn new(
windows: NumberPerDay,
macos: NumberPerDay,
linux: NumberPerDay,
ios: NumberPerDay,
android: NumberPerDay,
other: NumberPerDay,
total: NumberPerDay
) -> Self
Trait Implementations
sourceimpl Clone for DevicesActive
impl Clone for DevicesActive
sourcefn clone(&self) -> DevicesActive
fn clone(&self) -> DevicesActive
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 DevicesActive
impl Debug for DevicesActive
sourceimpl<'de> Deserialize<'de> for DevicesActive
impl<'de> Deserialize<'de> for DevicesActive
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<DevicesActive> for DevicesActive
impl PartialEq<DevicesActive> for DevicesActive
sourcefn eq(&self, other: &DevicesActive) -> bool
fn eq(&self, other: &DevicesActive) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DevicesActive) -> bool
fn ne(&self, other: &DevicesActive) -> bool
This method tests for !=.
sourceimpl Serialize for DevicesActive
impl Serialize for DevicesActive
impl Eq for DevicesActive
impl StructuralEq for DevicesActive
impl StructuralPartialEq for DevicesActive
Auto Trait Implementations
impl RefUnwindSafe for DevicesActive
impl Send for DevicesActive
impl Sync for DevicesActive
impl Unpin for DevicesActive
impl UnwindSafe for DevicesActive
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