Enum rive_models::message::MessageSort
source · pub enum MessageSort {
Relevance,
Latest,
Oldest,
}Expand description
Sort used for retrieving messages
Variants§
Relevance
Sort by the most relevant messages
Latest
Sort by the newest messages first
Oldest
Sort by the oldest messages first
Trait Implementations§
source§impl Clone for MessageSort
impl Clone for MessageSort
source§fn clone(&self) -> MessageSort
fn clone(&self) -> MessageSort
Returns a copy 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 MessageSort
impl Debug for MessageSort
source§impl<'de> Deserialize<'de> for MessageSort
impl<'de> Deserialize<'de> for MessageSort
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