#[non_exhaustive]pub enum ReadPositionProperty {
Id,
ChatId,
LastReadMessageId,
LastReadAt,
}Expand description
Property selector for crate::ReadPosition /get and /set.
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.
Id
The id property (draft-atwood-jmap-chat-00 §4.20).
ChatId
The chatId property (draft-atwood-jmap-chat-00 §4.20).
LastReadMessageId
The lastReadMessageId property (draft-atwood-jmap-chat-00 §4.20).
LastReadAt
The lastReadAt property (draft-atwood-jmap-chat-00 §4.20).
Trait Implementations§
Source§impl Clone for ReadPositionProperty
impl Clone for ReadPositionProperty
Source§fn clone(&self) -> ReadPositionProperty
fn clone(&self) -> ReadPositionProperty
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 ReadPositionProperty
impl Debug for ReadPositionProperty
impl Eq for ReadPositionProperty
Source§impl Hash for ReadPositionProperty
impl Hash for ReadPositionProperty
Source§impl PartialEq for ReadPositionProperty
impl PartialEq for ReadPositionProperty
impl StructuralPartialEq for ReadPositionProperty
Auto Trait Implementations§
impl Freeze for ReadPositionProperty
impl RefUnwindSafe for ReadPositionProperty
impl Send for ReadPositionProperty
impl Sync for ReadPositionProperty
impl Unpin for ReadPositionProperty
impl UnsafeUnpin for ReadPositionProperty
impl UnwindSafe for ReadPositionProperty
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.