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
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 Forget for TypeParamDefsItem
impl Freeze for TypeParamDefsItem
impl Move for TypeParamDefsItem
impl RefUnwindSafe for TypeParamDefsItem
impl Send for TypeParamDefsItemwhere
RawVecInner: Send,
impl Sync for TypeParamDefsItemwhere
RawVecInner: Sync,
impl Unpin for TypeParamDefsItem
impl UnsafeUnpin for TypeParamDefsItemwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for TypeParamDefsItemwhere
RawVecInner: UnwindSafe,
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