#[non_exhaustive]pub enum OrderBy {
PublishedAt,
FirstSeenAt,
RevisedAt,
AvailableAt,
Other(String),
}Expand description
Timestamp articles.search sorts by; from and to apply to the same timestamp.
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.
PublishedAt
publishedAt
FirstSeenAt
firstSeenAt
RevisedAt
revisedAt
AvailableAt
availableAt
Other(String)
A value this SDK version does not know, kept exactly as received.
Implementations§
Source§impl OrderBy
impl OrderBy
pub const PUBLISHED_AT: &'static str = "publishedAt"
pub const FIRST_SEEN_AT: &'static str = "firstSeenAt"
pub const REVISED_AT: &'static str = "revisedAt"
pub const AVAILABLE_AT: &'static str = "availableAt"
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderBy
impl<'de> Deserialize<'de> for OrderBy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OrderBy
Auto Trait Implementations§
impl Forget for OrderBy
impl Freeze for OrderBy
impl Move for OrderBy
impl RefUnwindSafe for OrderBy
impl Send for OrderBywhere
RawVecInner: Send,
impl Sync for OrderBywhere
RawVecInner: Sync,
impl Unpin for OrderBy
impl UnsafeUnpin for OrderBy
impl UnwindSafe for OrderBywhere
RawVecInner: UnwindSafe,
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