pub enum MessageVariant {
Auto,
Bubble,
Flat,
Other(String),
}Expand description
A message’s look.
Variants§
Auto
An accent bubble on the end side, plain text on the start side (the default).
Bubble
Bubbles on both sides.
Flat
Rows from the left under avatar, name and time.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for MessageVariant
impl Clone for MessageVariant
Source§impl Debug for MessageVariant
impl Debug for MessageVariant
Source§impl Display for MessageVariant
impl Display for MessageVariant
impl Eq for MessageVariant
Source§impl From<&str> for MessageVariant
impl From<&str> for MessageVariant
Source§impl From<String> for MessageVariant
impl From<String> for MessageVariant
Source§impl Hash for MessageVariant
impl Hash for MessageVariant
Source§impl PartialEq for MessageVariant
impl PartialEq for MessageVariant
Source§impl Serialize for MessageVariant
impl Serialize for MessageVariant
impl StructuralPartialEq for MessageVariant
Auto Trait Implementations§
impl Freeze for MessageVariant
impl RefUnwindSafe for MessageVariant
impl Send for MessageVariant
impl Sync for MessageVariant
impl Unpin for MessageVariant
impl UnsafeUnpin for MessageVariant
impl UnwindSafe for MessageVariant
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.