pub enum ArticleOrder {
CreatedDate,
PublishedDate,
ModifiedDate,
Views,
Shares,
Downloads,
Cites,
}Expand description
Supported sort fields for article list and search endpoints.
Variants§
CreatedDate
Sort by creation date.
PublishedDate
Sort by publication date.
ModifiedDate
Sort by modification date.
Views
Sort by views.
Sort by shares.
Downloads
Sort by downloads.
Cites
Sort by citations.
Trait Implementations§
Source§impl Clone for ArticleOrder
impl Clone for ArticleOrder
Source§fn clone(&self) -> ArticleOrder
fn clone(&self) -> ArticleOrder
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 ArticleOrder
impl Debug for ArticleOrder
Source§impl PartialEq for ArticleOrder
impl PartialEq for ArticleOrder
impl Copy for ArticleOrder
impl Eq for ArticleOrder
impl StructuralPartialEq for ArticleOrder
Auto Trait Implementations§
impl Freeze for ArticleOrder
impl RefUnwindSafe for ArticleOrder
impl Send for ArticleOrder
impl Sync for ArticleOrder
impl Unpin for ArticleOrder
impl UnsafeUnpin for ArticleOrder
impl UnwindSafe for ArticleOrder
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