pub enum ArgumentsItem {
EnumerationArg(EnumerationArg),
ValueArg(ValueArg),
TypeArg(TypeArg),
}Expand description
ArgumentsItem
JSON schema
{
"oneOf": [
{
"$ref": "#/$defs/enumeration_arg"
},
{
"$ref": "#/$defs/value_arg"
},
{
"$ref": "#/$defs/type_arg"
}
]
}Variants§
Trait Implementations§
Source§impl Clone for ArgumentsItem
impl Clone for ArgumentsItem
Source§fn clone(&self) -> ArgumentsItem
fn clone(&self) -> ArgumentsItem
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 ArgumentsItem
impl Debug for ArgumentsItem
Source§impl<'de> Deserialize<'de> for ArgumentsItem
impl<'de> Deserialize<'de> for ArgumentsItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArgumentsItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArgumentsItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ArgumentsItem> for ArgumentsItem
Available on crate feature parse only.
impl From<ArgumentsItem> for ArgumentsItem
Available on crate feature
parse only.Source§fn from(value: ArgumentsItem) -> Self
fn from(value: ArgumentsItem) -> Self
Converts to this type from the input type.
Source§impl From<EnumerationArg> for ArgumentsItem
impl From<EnumerationArg> for ArgumentsItem
Source§fn from(value: EnumerationArg) -> ArgumentsItem
fn from(value: EnumerationArg) -> ArgumentsItem
Converts to this type from the input type.
Source§impl From<EnumerationArg> for ArgumentsItem
Available on crate feature parse only.
impl From<EnumerationArg> for ArgumentsItem
Available on crate feature
parse only.Source§fn from(value: EnumerationArg) -> Self
fn from(value: EnumerationArg) -> Self
Converts to this type from the input type.
Source§impl From<TypeArg> for ArgumentsItem
impl From<TypeArg> for ArgumentsItem
Source§fn from(value: TypeArg) -> ArgumentsItem
fn from(value: TypeArg) -> ArgumentsItem
Converts to this type from the input type.
Source§impl From<TypeArg> for ArgumentsItem
Available on crate feature parse only.
impl From<TypeArg> for ArgumentsItem
Available on crate feature
parse only.Source§impl From<ValueArg> for ArgumentsItem
impl From<ValueArg> for ArgumentsItem
Source§fn from(value: ValueArg) -> ArgumentsItem
fn from(value: ValueArg) -> ArgumentsItem
Converts to this type from the input type.
Source§impl From<ValueArg> for ArgumentsItem
Available on crate feature parse only.
impl From<ValueArg> for ArgumentsItem
Available on crate feature
parse only.Source§impl PartialEq for ArgumentsItem
impl PartialEq for ArgumentsItem
Source§impl Serialize for ArgumentsItem
impl Serialize for ArgumentsItem
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 ArgumentsItem
Auto Trait Implementations§
impl Freeze for ArgumentsItem
impl RefUnwindSafe for ArgumentsItem
impl Send for ArgumentsItem
impl Sync for ArgumentsItem
impl Unpin for ArgumentsItem
impl UnsafeUnpin for ArgumentsItem
impl UnwindSafe for ArgumentsItem
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