pub enum AnnotationKind {
Citation,
}Expand description
The discriminator for an Annotation. Upstream tags every annotation
with type: "citation"; this is the sole kind today.
Variants§
Citation
Trait Implementations§
Source§impl Clone for AnnotationKind
impl Clone for AnnotationKind
Source§fn clone(&self) -> AnnotationKind
fn clone(&self) -> AnnotationKind
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 moreimpl Copy for AnnotationKind
Source§impl Debug for AnnotationKind
impl Debug for AnnotationKind
Source§impl Default for AnnotationKind
impl Default for AnnotationKind
Source§fn default() -> AnnotationKind
fn default() -> AnnotationKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnnotationKind
impl<'de> Deserialize<'de> for AnnotationKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnnotationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnnotationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AnnotationKind
Source§impl PartialEq for AnnotationKind
impl PartialEq for AnnotationKind
Source§impl Serialize for AnnotationKind
impl Serialize for AnnotationKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AnnotationKind
Auto Trait Implementations§
impl Freeze for AnnotationKind
impl RefUnwindSafe for AnnotationKind
impl Send for AnnotationKind
impl Sync for AnnotationKind
impl Unpin for AnnotationKind
impl UnsafeUnpin for AnnotationKind
impl UnwindSafe for AnnotationKind
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