#[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,
}
Available on crate feature
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
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.windows: NumberPerDay
Array of number of linked windows (desktop) clients with activity.
macos: NumberPerDay
Array of number of linked mac (desktop) clients with activity.
linux: NumberPerDay
Array of number of linked linus (desktop) clients with activity.
ios: NumberPerDay
Array of number of linked ios devices with activity.
android: NumberPerDay
Array of number of linked android devices with activity.
other: NumberPerDay
Array of number of other linked devices (blackberry, windows phone, etc) with activity.
total: NumberPerDay
Array of total number of linked clients with activity.
Implementations§
Source§impl DevicesActive
impl DevicesActive
pub fn new( windows: NumberPerDay, macos: NumberPerDay, linux: NumberPerDay, ios: NumberPerDay, android: NumberPerDay, other: NumberPerDay, total: NumberPerDay, ) -> Self
Trait Implementations§
Source§impl Clone for DevicesActive
impl Clone for DevicesActive
Source§fn clone(&self) -> DevicesActive
fn clone(&self) -> DevicesActive
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 DevicesActive
impl Debug for DevicesActive
Source§impl<'de> Deserialize<'de> for DevicesActive
impl<'de> Deserialize<'de> for DevicesActive
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 PartialEq for DevicesActive
impl PartialEq for DevicesActive
Source§impl Serialize for DevicesActive
impl Serialize for DevicesActive
impl Eq for DevicesActive
impl StructuralPartialEq for DevicesActive
Auto Trait Implementations§
impl Freeze for DevicesActive
impl RefUnwindSafe for DevicesActive
impl Send for DevicesActive
impl Sync for DevicesActive
impl Unpin for DevicesActive
impl UnwindSafe for DevicesActive
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.