pub struct AddOnsState {
pub phase: AddOnsPhase,
pub currency: Option<String>,
pub add_ons: Vec<SubProductCatalogEntry>,
pub error: Option<String>,
pub busy_id: Option<String>,
pub action_error: Option<String>,
}Expand description
The product’s add-ons the customer can do something with, as Moonbase lists
them for this device, and the add-on an activation or trial is running for.
Loaded by loadAddOns.
Fields§
§phase: AddOnsPhase§currency: Option<String>The currency to show prices in.
add_ons: Vec<SubProductCatalogEntry>§error: Option<String>Why listing failed, for the customer.
busy_id: Option<String>The add-on an activation or trial is running for.
action_error: Option<String>Why the last activation or trial failed, for the customer.
Trait Implementations§
Source§impl Clone for AddOnsState
impl Clone for AddOnsState
Source§impl Debug for AddOnsState
impl Debug for AddOnsState
Source§impl Default for AddOnsState
impl Default for AddOnsState
Source§impl PartialEq for AddOnsState
impl PartialEq for AddOnsState
Source§impl Serialize for AddOnsState
impl Serialize for AddOnsState
impl StructuralPartialEq for AddOnsState
Auto Trait Implementations§
impl Freeze for AddOnsState
impl RefUnwindSafe for AddOnsState
impl Send for AddOnsState
impl Sync for AddOnsState
impl Unpin for AddOnsState
impl UnsafeUnpin for AddOnsState
impl UnwindSafe for AddOnsState
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