[][src]Struct wccg_models::content::RegistrationOption

pub struct RegistrationOption { /* fields omitted */ }

Implementations

impl RegistrationOption[src]

pub fn id(&self) -> &String[src]

pub fn title(&self) -> &String[src]

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

pub fn payment_paise(&self) -> &i32[src]

pub fn max_count(&self) -> &Option<i32>[src]

pub fn active(&self) -> &bool[src]

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

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

pub fn custom_fields(&self) -> &Option<Vec<CustomField>>[src]

impl RegistrationOption[src]

pub fn set_id(&mut self, val: String) -> &mut Self[src]

pub fn set_title(&mut self, val: String) -> &mut Self[src]

pub fn set_description(&mut self, val: Option<String>) -> &mut Self[src]

pub fn set_payment_paise(&mut self, val: i32) -> &mut Self[src]

pub fn set_max_count(&mut self, val: Option<i32>) -> &mut Self[src]

pub fn set_active(&mut self, val: bool) -> &mut Self[src]

pub fn set_notes(&mut self, val: Option<String>) -> &mut Self[src]

pub fn set_instructions(&mut self, val: Option<String>) -> &mut Self[src]

pub fn set_custom_fields(&mut self, val: Option<Vec<CustomField>>) -> &mut Self[src]

Trait Implementations

impl Clone for RegistrationOption[src]

impl Debug for RegistrationOption[src]

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

impl Serialize for RegistrationOption[src]

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,