[][src]Struct rocl::models::Plan

pub struct Plan {
    pub id: String,
    pub name: String,
    pub description: String,
    pub metadata: Option<Value>,
    pub maintenance_info: Option<MaintenanceInfo>,
    pub free: Option<bool>,
    pub bindable: Option<bool>,
    pub schemas: Option<Schemas>,
}

Fields

id: Stringname: Stringdescription: Stringmetadata: Option<Value>

See Service Metadata Conventions for more details.

maintenance_info: Option<MaintenanceInfo>free: Option<bool>bindable: Option<bool>schemas: Option<Schemas>

Methods

impl Plan[src]

pub fn new(id: String, name: String, description: String) -> Plan[src]

Trait Implementations

impl Debug for Plan[src]

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

impl PartialEq<Plan> for Plan[src]

impl Serialize for Plan[src]

impl StructuralPartialEq 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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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