#[repr(u8)]pub enum WebChannelDefaultView {
TopTopic = 1,
ChannelFeed = 2,
ListOfTopics = 3,
TopUnreadTopic = 4,
}Expand description
Web/desktop app setting controlling the default navigation behavior when clicking on a channel link.
- 1: Top topic in the channel
- 2: Channel feed
- 3: List of topics
- 4: Top unread topic in channel
Changes: The "Top unread topic in channel" is new in Zulip 11.0 (feature level 401).
In Zulip 11.0 (feature level 383), we added a new option "List of topics" to this setting.
New in Zulip 9.0 (feature level 269). Previously, this was not configurable, and every user had the "Channel feed" behavior.
Variants§
Implementations§
Source§impl WebChannelDefaultView
impl WebChannelDefaultView
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new WebChannelDefaultView.
Trait Implementations§
Source§impl Clone for WebChannelDefaultView
impl Clone for WebChannelDefaultView
impl Copy for WebChannelDefaultView
Source§impl Debug for WebChannelDefaultView
impl Debug for WebChannelDefaultView
Source§impl Default for WebChannelDefaultView
impl Default for WebChannelDefaultView
Source§impl<'de> Deserialize<'de> for WebChannelDefaultView
impl<'de> Deserialize<'de> for WebChannelDefaultView
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 WebChannelDefaultView
impl Display for WebChannelDefaultView
impl Eq for WebChannelDefaultView
Source§impl PartialEq for WebChannelDefaultView
impl PartialEq for WebChannelDefaultView
Source§impl Serialize for WebChannelDefaultView
impl Serialize for WebChannelDefaultView
impl StructuralPartialEq for WebChannelDefaultView
Auto Trait Implementations§
impl Freeze for WebChannelDefaultView
impl RefUnwindSafe for WebChannelDefaultView
impl Send for WebChannelDefaultView
impl Sync for WebChannelDefaultView
impl Unpin for WebChannelDefaultView
impl UnsafeUnpin for WebChannelDefaultView
impl UnwindSafe for WebChannelDefaultView
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.