pub struct TypeParamDefsItem {
pub description: Option<String>,
pub max: Option<f64>,
pub min: Option<f64>,
pub name: Option<String>,
pub optional: Option<bool>,
pub options: Option<EnumOptions>,
pub type_: TypeParamDefsItemType,
}Expand description
TypeParamDefsItem
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"description": {
"type": "string"
},
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
},
"options": {
"$ref": "#/$defs/enum_options"
},
"type": {
"type": "string",
"enum": [
"dataType",
"boolean",
"integer",
"enumeration",
"string"
]
}
}
}Fields§
§description: Option<String>§max: Option<f64>§min: Option<f64>§name: Option<String>§optional: Option<bool>§options: Option<EnumOptions>§type_: TypeParamDefsItemTypeImplementations§
Source§impl TypeParamDefsItem
impl TypeParamDefsItem
pub fn builder() -> TypeParamDefsItem
Trait Implementations§
Source§impl Clone for TypeParamDefsItem
impl Clone for TypeParamDefsItem
Source§fn clone(&self) -> TypeParamDefsItem
fn clone(&self) -> TypeParamDefsItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeParamDefsItem
impl Debug for TypeParamDefsItem
Source§impl<'de> Deserialize<'de> for TypeParamDefsItem
impl<'de> Deserialize<'de> for TypeParamDefsItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeParamDefsItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeParamDefsItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TypeParamDefsItem> for TypeParamDefsItem
impl From<TypeParamDefsItem> for TypeParamDefsItem
Source§fn from(value: TypeParamDefsItem) -> TypeParamDefsItem
fn from(value: TypeParamDefsItem) -> TypeParamDefsItem
Converts to this type from the input type.
Source§impl PartialEq for TypeParamDefsItem
impl PartialEq for TypeParamDefsItem
Source§impl Serialize for TypeParamDefsItem
impl Serialize for TypeParamDefsItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TypeParamDefsItem
Source§impl TryFrom<TypeParamDefsItem> for TypeParamDefsItem
impl TryFrom<TypeParamDefsItem> for TypeParamDefsItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: TypeParamDefsItem,
) -> Result<TypeParamDefsItem, ConversionError>
fn try_from( value: TypeParamDefsItem, ) -> Result<TypeParamDefsItem, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TypeParamDefsItem
impl RefUnwindSafe for TypeParamDefsItem
impl Send for TypeParamDefsItem
impl Sync for TypeParamDefsItem
impl Unpin for TypeParamDefsItem
impl UnsafeUnpin for TypeParamDefsItem
impl UnwindSafe for TypeParamDefsItem
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