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 (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<Identifier: Debug> Debug for AnnotationCall<Identifier>
impl<Identifier: Debug> Debug for AnnotationCall<Identifier>
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§fn eq(&self, other: &AnnotationCall<Identifier>) -> bool
fn eq(&self, other: &AnnotationCall<Identifier>) -> bool
Tests for
self and other values to be equal, and is used by ==.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>
impl<Identifier> Sync for AnnotationCall<Identifier>
impl<Identifier> Unpin for AnnotationCall<Identifier>where
Identifier: Unpin,
impl<Identifier> UnsafeUnpin for AnnotationCall<Identifier>where
Identifier: UnsafeUnpin,
impl<Identifier> UnwindSafe for AnnotationCall<Identifier>where
Identifier: UnwindSafe + RefUnwindSafe,
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