pub enum DocAnalyticsOrderBy {
Show 18 variants
Date,
DocId,
Title,
CreatedAt,
PublishedAt,
Likes,
Copies,
Views,
SessionsDesktop,
SessionsMobile,
SessionsOther,
TotalSessions,
AiCreditsChat,
AiCreditsBlock,
AiCreditsColumn,
AiCreditsAssistant,
AiCreditsReviewer,
AiCredits,
}
Expand description
Determines how the Doc analytics returned are sorted.
JSON schema
{
"description": "Determines how the Doc analytics returned are sorted.",
"type": "string",
"enum": [
"date",
"docId",
"title",
"createdAt",
"publishedAt",
"likes",
"copies",
"views",
"sessionsDesktop",
"sessionsMobile",
"sessionsOther",
"totalSessions",
"aiCreditsChat",
"aiCreditsBlock",
"aiCreditsColumn",
"aiCreditsAssistant",
"aiCreditsReviewer",
"aiCredits"
],
"x-schema-name": "DocAnalyticsOrderBy",
"x-tsEnumNames": [
"AnalyticsDate",
"DocId",
"Title",
"CreatedAt",
"PublishedAt",
"Likes",
"Copies",
"Views",
"SessionsDesktop",
"SessionsMobile",
"SessionsOther",
"TotalSessions",
"AiCreditsChat",
"AiCreditsBlock",
"AiCreditsColumn",
"AiCreditsAssistant",
"AiCreditsReviewer",
"AiCredits"
]
}
Variants§
Date
DocId
Title
CreatedAt
PublishedAt
Likes
Copies
Views
SessionsDesktop
SessionsMobile
SessionsOther
TotalSessions
AiCreditsChat
AiCreditsBlock
AiCreditsColumn
AiCreditsAssistant
AiCreditsReviewer
AiCredits
Trait Implementations§
Source§impl Clone for DocAnalyticsOrderBy
impl Clone for DocAnalyticsOrderBy
Source§fn clone(&self) -> DocAnalyticsOrderBy
fn clone(&self) -> DocAnalyticsOrderBy
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 DocAnalyticsOrderBy
impl Debug for DocAnalyticsOrderBy
Source§impl<'de> Deserialize<'de> for DocAnalyticsOrderBy
impl<'de> Deserialize<'de> for DocAnalyticsOrderBy
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
Source§impl Display for DocAnalyticsOrderBy
impl Display for DocAnalyticsOrderBy
Source§impl From<&DocAnalyticsOrderBy> for DocAnalyticsOrderBy
impl From<&DocAnalyticsOrderBy> for DocAnalyticsOrderBy
Source§fn from(value: &DocAnalyticsOrderBy) -> Self
fn from(value: &DocAnalyticsOrderBy) -> Self
Converts to this type from the input type.
Source§impl FromStr for DocAnalyticsOrderBy
impl FromStr for DocAnalyticsOrderBy
Source§impl Hash for DocAnalyticsOrderBy
impl Hash for DocAnalyticsOrderBy
Source§impl Ord for DocAnalyticsOrderBy
impl Ord for DocAnalyticsOrderBy
Source§fn cmp(&self, other: &DocAnalyticsOrderBy) -> Ordering
fn cmp(&self, other: &DocAnalyticsOrderBy) -> 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 DocAnalyticsOrderBy
impl PartialEq for DocAnalyticsOrderBy
Source§impl PartialOrd for DocAnalyticsOrderBy
impl PartialOrd for DocAnalyticsOrderBy
Source§impl Serialize for DocAnalyticsOrderBy
impl Serialize for DocAnalyticsOrderBy
Source§impl TryFrom<&String> for DocAnalyticsOrderBy
impl TryFrom<&String> for DocAnalyticsOrderBy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for DocAnalyticsOrderBy
impl TryFrom<&str> for DocAnalyticsOrderBy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for DocAnalyticsOrderBy
impl TryFrom<String> for DocAnalyticsOrderBy
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for DocAnalyticsOrderBy
impl Eq for DocAnalyticsOrderBy
impl StructuralPartialEq for DocAnalyticsOrderBy
Auto Trait Implementations§
impl Freeze for DocAnalyticsOrderBy
impl RefUnwindSafe for DocAnalyticsOrderBy
impl Send for DocAnalyticsOrderBy
impl Sync for DocAnalyticsOrderBy
impl Unpin for DocAnalyticsOrderBy
impl UnwindSafe for DocAnalyticsOrderBy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.