pub struct App {
pub id: String,
pub status: OmahaStatus,
pub cohort: Cohort,
pub ping: Option<Ping>,
pub update_check: Option<UpdateCheck>,
pub events: Option<Vec<Event>>,
pub extra_attributes: Map<String, Value>,
}
Fields§
§id: String
§status: OmahaStatus
The state of the product on the server.
cohort: Cohort
This holds the following fields of the app object: cohort cohorthint cohortname
ping: Option<Ping>
Optional ping, used for user counting.
update_check: Option<UpdateCheck>
Information about the update.
events: Option<Vec<Event>>
Any number of event status.
extra_attributes: Map<String, Value>
Optional attributes Omaha sends.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for App
impl<'de> Deserialize<'de> for App
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
impl StructuralPartialEq for App
Auto Trait Implementations§
impl Freeze for App
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnwindSafe for App
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)