Enum webex::types::MessageActivity
source · pub enum MessageActivity {
Posted,
Shared,
Acknowledged,
Deleted,
}
Expand description
Specifics of what type of activity ActivityType::Message
represents.
Variants§
Posted
A message was posted
A message was posted with attachments
TODO: Should this be merged with Self::Posted
? Could have a field to determine
attachments/no attachments, or we can let the user figure that out from the message
instance.
Acknowledged
A message was acknowledged
Deleted
A message was deleted
Implementations§
source§impl MessageActivity
impl MessageActivity
sourcepub const fn is_created(&self) -> bool
pub const fn is_created(&self) -> bool
True if this is a new message (Self::Posted
or Self::Shared
).
Trait Implementations§
source§impl Clone for MessageActivity
impl Clone for MessageActivity
source§fn clone(&self) -> MessageActivity
fn clone(&self) -> MessageActivity
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 MessageActivity
impl Debug for MessageActivity
source§impl PartialEq for MessageActivity
impl PartialEq for MessageActivity
source§fn eq(&self, other: &MessageActivity) -> bool
fn eq(&self, other: &MessageActivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for MessageActivity
impl TryFrom<&str> for MessageActivity
impl Eq for MessageActivity
impl StructuralEq for MessageActivity
impl StructuralPartialEq for MessageActivity
Auto Trait Implementations§
impl RefUnwindSafe for MessageActivity
impl Send for MessageActivity
impl Sync for MessageActivity
impl Unpin for MessageActivity
impl UnwindSafe for MessageActivity
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.