Enum opg::models::ModelTypeDescription
source · pub enum ModelTypeDescription {
String(ModelString),
Number(ModelSimple),
Integer(ModelSimple),
Boolean,
Array(ModelArray),
Object(ModelObject),
}
Expand description
Data Type
Variants§
String(ModelString)
Number(ModelSimple)
Integer(ModelSimple)
Boolean
Array(ModelArray)
Object(ModelObject)
Implementations§
source§impl ModelTypeDescription
impl ModelTypeDescription
sourcepub fn apply_params(self, params: &ContextParams) -> Self
pub fn apply_params(self, params: &ContextParams) -> Self
Apply context params for this object
Trait Implementations§
source§impl Clone for ModelTypeDescription
impl Clone for ModelTypeDescription
source§fn clone(&self) -> ModelTypeDescription
fn clone(&self) -> ModelTypeDescription
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModelTypeDescription
impl Debug for ModelTypeDescription
source§impl From<ModelArray> for ModelTypeDescription
impl From<ModelArray> for ModelTypeDescription
source§fn from(data: ModelArray) -> Self
fn from(data: ModelArray) -> Self
Converts to this type from the input type.
source§impl From<ModelObject> for ModelTypeDescription
impl From<ModelObject> for ModelTypeDescription
source§fn from(data: ModelObject) -> Self
fn from(data: ModelObject) -> Self
Converts to this type from the input type.
source§impl From<ModelString> for ModelTypeDescription
impl From<ModelString> for ModelTypeDescription
source§fn from(data: ModelString) -> Self
fn from(data: ModelString) -> Self
Converts to this type from the input type.