pub enum ArticleVersion {
Latest,
Num(u8),
}Expand description
The version of an article as declared in an arXiv identifier
Variants§
Trait Implementations§
Source§impl Clone for ArticleVersion
impl Clone for ArticleVersion
Source§fn clone(&self) -> ArticleVersion
fn clone(&self) -> ArticleVersion
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 Debug for ArticleVersion
impl Debug for ArticleVersion
Source§impl Default for ArticleVersion
impl Default for ArticleVersion
Source§fn default() -> ArticleVersion
fn default() -> ArticleVersion
Returns the “default value” for a type. Read more
Source§impl Display for ArticleVersion
impl Display for ArticleVersion
Source§impl From<u8> for ArticleVersion
impl From<u8> for ArticleVersion
Source§impl Hash for ArticleVersion
impl Hash for ArticleVersion
Source§impl Ord for ArticleVersion
impl Ord for ArticleVersion
Source§fn cmp(&self, other: &ArticleVersion) -> Ordering
fn cmp(&self, other: &ArticleVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ArticleVersion
impl PartialEq for ArticleVersion
Source§impl PartialOrd for ArticleVersion
impl PartialOrd for ArticleVersion
impl Copy for ArticleVersion
impl Eq for ArticleVersion
impl StructuralPartialEq for ArticleVersion
Auto Trait Implementations§
impl Freeze for ArticleVersion
impl RefUnwindSafe for ArticleVersion
impl Send for ArticleVersion
impl Sync for ArticleVersion
impl Unpin for ArticleVersion
impl UnwindSafe for ArticleVersion
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