pub enum AuraEffectModifierRange {
Integer(NonZeroU64),
Array(Vec<NonZeroU64>),
}Expand description
AuraEffectModifierRange
JSON schema
{
"oneOf": [
{
"type": "integer",
"minimum": 1.0
},
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1.0
},
"minItems": 1
}
]
}Variants§
Integer(NonZeroU64)
Array(Vec<NonZeroU64>)
Trait Implementations§
Source§impl Clone for AuraEffectModifierRange
impl Clone for AuraEffectModifierRange
Source§fn clone(&self) -> AuraEffectModifierRange
fn clone(&self) -> AuraEffectModifierRange
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 AuraEffectModifierRange
impl Debug for AuraEffectModifierRange
Source§impl<'de> Deserialize<'de> for AuraEffectModifierRange
impl<'de> Deserialize<'de> for AuraEffectModifierRange
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<NonZero<u64>> for AuraEffectModifierRange
impl From<NonZero<u64>> for AuraEffectModifierRange
Source§fn from(value: NonZeroU64) -> Self
fn from(value: NonZeroU64) -> Self
Converts to this type from the input type.
Source§impl From<Vec<NonZero<u64>>> for AuraEffectModifierRange
impl From<Vec<NonZero<u64>>> for AuraEffectModifierRange
Source§fn from(value: Vec<NonZeroU64>) -> Self
fn from(value: Vec<NonZeroU64>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AuraEffectModifierRange
impl PartialEq for AuraEffectModifierRange
Source§impl Serialize for AuraEffectModifierRange
impl Serialize for AuraEffectModifierRange
impl StructuralPartialEq for AuraEffectModifierRange
Auto Trait Implementations§
impl Freeze for AuraEffectModifierRange
impl RefUnwindSafe for AuraEffectModifierRange
impl Send for AuraEffectModifierRange
impl Sync for AuraEffectModifierRange
impl Unpin for AuraEffectModifierRange
impl UnsafeUnpin for AuraEffectModifierRange
impl UnwindSafe for AuraEffectModifierRange
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