#[repr(u8)]pub enum UserListStyle {
Compact = 1,
WithStatus = 2,
WithAvatarAndStatus = 3,
}Expand description
The style selected by the user for the right sidebar user list.
- 1: Compact
- 2: With status
- 3: With avatar and status
Changes: New in Zulip 6.0 (feature level 141).
Variants§
Implementations§
Source§impl UserListStyle
impl UserListStyle
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new UserListStyle.
Trait Implementations§
Source§impl Clone for UserListStyle
impl Clone for UserListStyle
impl Copy for UserListStyle
Source§impl Debug for UserListStyle
impl Debug for UserListStyle
Source§impl Default for UserListStyle
impl Default for UserListStyle
Source§impl<'de> Deserialize<'de> for UserListStyle
impl<'de> Deserialize<'de> for UserListStyle
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UserListStyle
impl Display for UserListStyle
impl Eq for UserListStyle
Source§impl PartialEq for UserListStyle
impl PartialEq for UserListStyle
Source§impl Serialize for UserListStyle
impl Serialize for UserListStyle
impl StructuralPartialEq for UserListStyle
Auto Trait Implementations§
impl Freeze for UserListStyle
impl RefUnwindSafe for UserListStyle
impl Send for UserListStyle
impl Sync for UserListStyle
impl Unpin for UserListStyle
impl UnsafeUnpin for UserListStyle
impl UnwindSafe for UserListStyle
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.