pub enum WebHomeView {
Recent,
Inbox,
AllMessages,
}Expand description
Represents the home view used when opening a new Zulip web app window or hitting the Esc keyboard shortcut repeatedly.
- "recent" - Recent conversations view
- "inbox" - Inbox view
- "all_messages" - Combined feed view
Changes: New in Zulip 8.0 (feature level 219). Previously, this was called default_view, which was new in Zulip 4.0 (feature level 42).
Variants§
Implementations§
Source§impl WebHomeView
impl WebHomeView
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new WebHomeView.
Trait Implementations§
Source§impl Clone for WebHomeView
impl Clone for WebHomeView
impl Copy for WebHomeView
Source§impl Debug for WebHomeView
impl Debug for WebHomeView
Source§impl Default for WebHomeView
impl Default for WebHomeView
Source§impl<'de> Deserialize<'de> for WebHomeView
impl<'de> Deserialize<'de> for WebHomeView
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 WebHomeView
impl Display for WebHomeView
impl Eq for WebHomeView
Source§impl PartialEq for WebHomeView
impl PartialEq for WebHomeView
Source§impl Serialize for WebHomeView
impl Serialize for WebHomeView
impl StructuralPartialEq for WebHomeView
Auto Trait Implementations§
impl Freeze for WebHomeView
impl RefUnwindSafe for WebHomeView
impl Send for WebHomeView
impl Sync for WebHomeView
impl Unpin for WebHomeView
impl UnsafeUnpin for WebHomeView
impl UnwindSafe for WebHomeView
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.