Struct stcloud::models::Plan[][src]

pub struct Plan { /* fields omitted */ }

Implementations

impl Plan[src]

pub fn new() -> Plan[src]

pub fn set_app_type(&mut self, app_type: String)[src]

pub fn with_app_type(self, app_type: String) -> Plan[src]

pub fn app_type(&self) -> Option<&String>[src]

pub fn reset_app_type(&mut self)[src]

pub fn set_custom(&mut self, custom: bool)[src]

pub fn with_custom(self, custom: bool) -> Plan[src]

pub fn custom(&self) -> Option<&bool>[src]

pub fn reset_custom(&mut self)[src]

pub fn set_data_retention_hours(&mut self, data_retention_hours: f32)[src]

pub fn with_data_retention_hours(self, data_retention_hours: f32) -> Plan[src]

pub fn data_retention_hours(&self) -> Option<&f32>[src]

pub fn reset_data_retention_hours(&mut self)[src]

pub fn set_default_trial_plan(&mut self, default_trial_plan: bool)[src]

pub fn with_default_trial_plan(self, default_trial_plan: bool) -> Plan[src]

pub fn default_trial_plan(&self) -> Option<&bool>[src]

pub fn reset_default_trial_plan(&mut self)[src]

pub fn set_free(&mut self, free: bool)[src]

pub fn with_free(self, free: bool) -> Plan[src]

pub fn free(&self) -> Option<&bool>[src]

pub fn reset_free(&mut self)[src]

pub fn set_free_trial_days(&mut self, free_trial_days: i64)[src]

pub fn with_free_trial_days(self, free_trial_days: i64) -> Plan[src]

pub fn free_trial_days(&self) -> Option<&i64>[src]

pub fn reset_free_trial_days(&mut self)[src]

pub fn set_id(&mut self, id: i64)[src]

pub fn with_id(self, id: i64) -> Plan[src]

pub fn id(&self) -> Option<&i64>[src]

pub fn reset_id(&mut self)[src]

pub fn set_max_alerts(&mut self, max_alerts: i64)[src]

pub fn with_max_alerts(self, max_alerts: i64) -> Plan[src]

pub fn max_alerts(&self) -> Option<&i64>[src]

pub fn reset_max_alerts(&mut self)[src]

pub fn set_max_daily_events(&mut self, max_daily_events: i64)[src]

pub fn with_max_daily_events(self, max_daily_events: i64) -> Plan[src]

pub fn max_daily_events(&self) -> Option<&i64>[src]

pub fn reset_max_daily_events(&mut self)[src]

pub fn set_name(&mut self, name: String)[src]

pub fn with_name(self, name: String) -> Plan[src]

pub fn name(&self) -> Option<&String>[src]

pub fn reset_name(&mut self)[src]

pub fn set_plan_scheme(&mut self, plan_scheme: String)[src]

pub fn with_plan_scheme(self, plan_scheme: String) -> Plan[src]

pub fn plan_scheme(&self) -> Option<&String>[src]

pub fn reset_plan_scheme(&mut self)[src]

pub fn set_sematext_service(&mut self, sematext_service: String)[src]

pub fn with_sematext_service(self, sematext_service: String) -> Plan[src]

pub fn sematext_service(&self) -> Option<&String>[src]

pub fn reset_sematext_service(&mut self)[src]

pub fn set_trial_plan(&mut self, trial_plan: bool)[src]

pub fn with_trial_plan(self, trial_plan: bool) -> Plan[src]

pub fn trial_plan(&self) -> Option<&bool>[src]

pub fn reset_trial_plan(&mut self)[src]

Trait Implementations

impl Debug for Plan[src]

impl<'de> Deserialize<'de> for Plan[src]

impl Serialize for Plan[src]

Auto Trait Implementations

impl RefUnwindSafe for Plan

impl Send for Plan

impl Sync for Plan

impl Unpin for Plan

impl UnwindSafe for Plan

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.