pub enum WebAnimateImagePreviews {
Always,
OnHover,
Never,
}Expand description
Controls how animated images should be played in the message feed in the web/desktop application.
- "always": Always play the animated images in the message feed.
- "on_hover": Play the animated images on hover over them in the message feed.
- "never": Never play animated images in the message feed.
Changes: New in Zulip 9.0 (feature level 275).
Variants§
Implementations§
Source§impl WebAnimateImagePreviews
impl WebAnimateImagePreviews
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new WebAnimateImagePreviews.
Trait Implementations§
Source§impl Clone for WebAnimateImagePreviews
impl Clone for WebAnimateImagePreviews
impl Copy for WebAnimateImagePreviews
Source§impl Debug for WebAnimateImagePreviews
impl Debug for WebAnimateImagePreviews
Source§impl Default for WebAnimateImagePreviews
impl Default for WebAnimateImagePreviews
Source§impl<'de> Deserialize<'de> for WebAnimateImagePreviews
impl<'de> Deserialize<'de> for WebAnimateImagePreviews
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 WebAnimateImagePreviews
impl Display for WebAnimateImagePreviews
impl Eq for WebAnimateImagePreviews
Source§impl PartialEq for WebAnimateImagePreviews
impl PartialEq for WebAnimateImagePreviews
Source§impl Serialize for WebAnimateImagePreviews
impl Serialize for WebAnimateImagePreviews
impl StructuralPartialEq for WebAnimateImagePreviews
Auto Trait Implementations§
impl Freeze for WebAnimateImagePreviews
impl RefUnwindSafe for WebAnimateImagePreviews
impl Send for WebAnimateImagePreviews
impl Sync for WebAnimateImagePreviews
impl Unpin for WebAnimateImagePreviews
impl UnsafeUnpin for WebAnimateImagePreviews
impl UnwindSafe for WebAnimateImagePreviews
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.