#[non_exhaustive]pub enum CitationType {
Known(CitationTypeKnown),
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Known(CitationTypeKnown)
Unknown(String)
Trait Implementations§
Source§impl Clone for CitationType
impl Clone for CitationType
Source§fn clone(&self) -> CitationType
fn clone(&self) -> CitationType
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 CitationType
impl Debug for CitationType
Source§impl<'de> Deserialize<'de> for CitationType
impl<'de> Deserialize<'de> for CitationType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CitationType
Source§impl PartialEq for CitationType
impl PartialEq for CitationType
Source§impl Serialize for CitationType
impl Serialize for CitationType
impl StructuralPartialEq for CitationType
Auto Trait Implementations§
impl Freeze for CitationType
impl RefUnwindSafe for CitationType
impl Send for CitationType
impl Sync for CitationType
impl Unpin for CitationType
impl UnsafeUnpin for CitationType
impl UnwindSafe for CitationType
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