pub enum ResolvedTopicNoticeAutoReadPolicy {
Always,
ExceptFollowed,
Never,
}Expand description
Controls whether the resolved-topic notices are marked as read.
- "always": Always mark resolved-topic notices as read.
- "except_followed": Mark resolved-topic notices as read in topics not followed by the user.
- "never": Never mark resolved-topic notices as read.
Changes: New in Zulip 11.0 (feature level 385).
Variants§
Implementations§
Source§impl ResolvedTopicNoticeAutoReadPolicy
impl ResolvedTopicNoticeAutoReadPolicy
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new ResolvedTopicNoticeAutoReadPolicy.
Trait Implementations§
impl Copy for ResolvedTopicNoticeAutoReadPolicy
Source§impl<'de> Deserialize<'de> for ResolvedTopicNoticeAutoReadPolicy
impl<'de> Deserialize<'de> for ResolvedTopicNoticeAutoReadPolicy
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
impl Eq for ResolvedTopicNoticeAutoReadPolicy
impl StructuralPartialEq for ResolvedTopicNoticeAutoReadPolicy
Auto Trait Implementations§
impl Freeze for ResolvedTopicNoticeAutoReadPolicy
impl RefUnwindSafe for ResolvedTopicNoticeAutoReadPolicy
impl Send for ResolvedTopicNoticeAutoReadPolicy
impl Sync for ResolvedTopicNoticeAutoReadPolicy
impl Unpin for ResolvedTopicNoticeAutoReadPolicy
impl UnsafeUnpin for ResolvedTopicNoticeAutoReadPolicy
impl UnwindSafe for ResolvedTopicNoticeAutoReadPolicy
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.