pub struct AppUsageStatsOut {
pub id: String,
pub status: BackgroundTaskStatus,
pub task: BackgroundTaskType,
pub unresolved_app_ids: Vec<String>,
}
Fields§
§id: String
§status: BackgroundTaskStatus
§task: BackgroundTaskType
§unresolved_app_ids: Vec<String>
Any app IDs or UIDs received in the request that weren’t found. Stats will be produced for all the others.
Implementations§
Source§impl AppUsageStatsOut
impl AppUsageStatsOut
pub fn new( id: String, status: BackgroundTaskStatus, task: BackgroundTaskType, unresolved_app_ids: Vec<String>, ) -> AppUsageStatsOut
Trait Implementations§
Source§impl Clone for AppUsageStatsOut
impl Clone for AppUsageStatsOut
Source§fn clone(&self) -> AppUsageStatsOut
fn clone(&self) -> AppUsageStatsOut
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 AppUsageStatsOut
impl Debug for AppUsageStatsOut
Source§impl Default for AppUsageStatsOut
impl Default for AppUsageStatsOut
Source§fn default() -> AppUsageStatsOut
fn default() -> AppUsageStatsOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppUsageStatsOut
impl<'de> Deserialize<'de> for AppUsageStatsOut
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AppUsageStatsOut
impl PartialEq for AppUsageStatsOut
Source§impl Serialize for AppUsageStatsOut
impl Serialize for AppUsageStatsOut
impl StructuralPartialEq for AppUsageStatsOut
Auto Trait Implementations§
impl Freeze for AppUsageStatsOut
impl RefUnwindSafe for AppUsageStatsOut
impl Send for AppUsageStatsOut
impl Sync for AppUsageStatsOut
impl Unpin for AppUsageStatsOut
impl UnwindSafe for AppUsageStatsOut
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