pub struct AnnotationCall<Identifier = String> {
pub id: Identifier,
pub args: Vec<AnnotationArgument<Identifier>>,
}Expand description
An object depicting an annotation in the form of a call
Fields§
§id: IdentifierIdentifier of the constraint predicate
args: Vec<AnnotationArgument<Identifier>>Arguments of the constraint
Trait Implementations§
Source§impl<Identifier: Clone> Clone for AnnotationCall<Identifier>
impl<Identifier: Clone> Clone for AnnotationCall<Identifier>
Source§fn clone(&self) -> AnnotationCall<Identifier>
fn clone(&self) -> AnnotationCall<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 AnnotationCall<Identifier>
impl<Identifier: Debug> Debug for AnnotationCall<Identifier>
Source§impl<'de, Identifier> Deserialize<'de> for AnnotationCall<Identifier>where
Identifier: Deserialize<'de>,
impl<'de, Identifier> Deserialize<'de> for AnnotationCall<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<Identifier: Display> Display for AnnotationCall<Identifier>
impl<Identifier: Display> Display for AnnotationCall<Identifier>
Source§impl<Identifier: PartialEq> PartialEq for AnnotationCall<Identifier>
impl<Identifier: PartialEq> PartialEq for AnnotationCall<Identifier>
Source§impl<Identifier> Serialize for AnnotationCall<Identifier>where
Identifier: Serialize,
impl<Identifier> Serialize for AnnotationCall<Identifier>where
Identifier: Serialize,
impl<Identifier> StructuralPartialEq for AnnotationCall<Identifier>
Auto Trait Implementations§
impl<Identifier> Freeze for AnnotationCall<Identifier>where
Identifier: Freeze,
impl<Identifier> RefUnwindSafe for AnnotationCall<Identifier>where
Identifier: RefUnwindSafe,
impl<Identifier> Send for AnnotationCall<Identifier>where
Identifier: Send,
impl<Identifier> Sync for AnnotationCall<Identifier>where
Identifier: Sync,
impl<Identifier> Unpin for AnnotationCall<Identifier>where
Identifier: Unpin,
impl<Identifier> UnwindSafe for AnnotationCall<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