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 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 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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ArgumentsItem> for ArgumentsItem
impl From<&ArgumentsItem> for ArgumentsItem
Source§fn from(value: &ArgumentsItem) -> Self
fn from(value: &ArgumentsItem) -> Self
Converts to this type from the input type.
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) -> Self
fn from(value: EnumerationArg) -> Self
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§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§impl From<ValueArg> for ArgumentsItem
Available on crate feature parse
only.
impl From<ValueArg> for ArgumentsItem
Available on crate feature
parse
only.Source§impl<C: Context> Parse<C> for ArgumentsItem
Available on crate feature parse
only.
impl<C: Context> Parse<C> for ArgumentsItem
Available on crate feature
parse
only.Auto Trait Implementations§
impl Freeze for ArgumentsItem
impl RefUnwindSafe for ArgumentsItem
impl Send for ArgumentsItem
impl Sync for ArgumentsItem
impl Unpin 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