pub enum AnnotationArgument<Identifier = String> {
Array(Vec<AnnotationLiteral<Identifier>>),
Literal(AnnotationLiteral<Identifier>),
}Expand description
The argument type associated with AnnotationCall
Variants§
Array(Vec<AnnotationLiteral<Identifier>>)
Sequence of Literals
Literal(AnnotationLiteral<Identifier>)
Singular argument
Trait Implementations§
Source§impl<Identifier: Clone> Clone for AnnotationArgument<Identifier>
impl<Identifier: Clone> Clone for AnnotationArgument<Identifier>
Source§fn clone(&self) -> AnnotationArgument<Identifier>
fn clone(&self) -> AnnotationArgument<Identifier>
Returns a duplicate 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<Identifier: Debug> Debug for AnnotationArgument<Identifier>
impl<Identifier: Debug> Debug for AnnotationArgument<Identifier>
Source§impl<'de, Identifier> Deserialize<'de> for AnnotationArgument<Identifier>where
Identifier: Deserialize<'de>,
impl<'de, Identifier> Deserialize<'de> for AnnotationArgument<Identifier>where
Identifier: Deserialize<'de>,
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<Idenfier: Display> Display for AnnotationArgument<Idenfier>
impl<Idenfier: Display> Display for AnnotationArgument<Idenfier>
Source§impl<Identifier: PartialEq> PartialEq for AnnotationArgument<Identifier>
impl<Identifier: PartialEq> PartialEq for AnnotationArgument<Identifier>
Source§fn eq(&self, other: &AnnotationArgument<Identifier>) -> bool
fn eq(&self, other: &AnnotationArgument<Identifier>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<Identifier> Serialize for AnnotationArgument<Identifier>where
Identifier: Serialize,
impl<Identifier> Serialize for AnnotationArgument<Identifier>where
Identifier: Serialize,
impl<Identifier> StructuralPartialEq for AnnotationArgument<Identifier>
Auto Trait Implementations§
impl<Identifier> Freeze for AnnotationArgument<Identifier>where
Identifier: Freeze,
impl<Identifier> RefUnwindSafe for AnnotationArgument<Identifier>where
Identifier: RefUnwindSafe,
impl<Identifier> Send for AnnotationArgument<Identifier>where
Identifier: Send,
impl<Identifier> Sync for AnnotationArgument<Identifier>where
Identifier: Sync,
impl<Identifier> Unpin for AnnotationArgument<Identifier>where
Identifier: Unpin,
impl<Identifier> UnwindSafe for AnnotationArgument<Identifier>where
Identifier: 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