pub enum ReadPositionProperty {
Id,
ChatId,
LastReadMessageId,
LastReadAt,
}Expand description
Property selector for crate::ReadPosition /get and /set.
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
Source§impl Hash for ReadPositionProperty
impl Hash for ReadPositionProperty
Source§impl PartialEq for ReadPositionProperty
impl PartialEq for ReadPositionProperty
Source§fn eq(&self, other: &ReadPositionProperty) -> bool
fn eq(&self, other: &ReadPositionProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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