#[non_exhaustive]pub enum ContactSortProperty {
LastSeenAt,
Login,
LastActiveAt,
}Expand description
Sort property for ChatContact/query.
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.
LastSeenAt
Sort by the contact’s lastSeenAt timestamp.
Login
Sort by the contact’s login identifier.
LastActiveAt
Sort by the contact’s lastActiveAt timestamp.
Trait Implementations§
Source§impl Clone for ContactSortProperty
impl Clone for ContactSortProperty
Source§fn clone(&self) -> ContactSortProperty
fn clone(&self) -> ContactSortProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContactSortProperty
impl Debug for ContactSortProperty
Source§impl PartialEq for ContactSortProperty
impl PartialEq for ContactSortProperty
Source§fn eq(&self, other: &ContactSortProperty) -> bool
fn eq(&self, other: &ContactSortProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContactSortProperty
impl Serialize for ContactSortProperty
impl StructuralPartialEq for ContactSortProperty
Auto Trait Implementations§
impl Freeze for ContactSortProperty
impl RefUnwindSafe for ContactSortProperty
impl Send for ContactSortProperty
impl Sync for ContactSortProperty
impl Unpin for ContactSortProperty
impl UnsafeUnpin for ContactSortProperty
impl UnwindSafe for ContactSortProperty
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