pub enum SearchEmbedType {
Article,
Gif,
Image,
Sound,
Video,
}Expand description
Embed types to filter results by.
These do not correspond 1:1 to actual embed types and encompass a wider range of actual types.
Variants§
Article
Return messages that have an article embed.
Gif
Return messages that have a gifv embed.
Messages sent before February 24, 2026 may not be properly indexed under the gif embed type.
Image
Return messages that have an image embed.
Sound
Return messages that have a sound embed.
Video
Return messages that have a video embed.
Trait Implementations§
Source§impl Clone for SearchEmbedType
impl Clone for SearchEmbedType
impl Copy for SearchEmbedType
Source§impl Debug for SearchEmbedType
impl Debug for SearchEmbedType
Source§impl<'de> Deserialize<'de> for SearchEmbedType
impl<'de> Deserialize<'de> for SearchEmbedType
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 SearchEmbedType
impl Display for SearchEmbedType
impl Eq for SearchEmbedType
Source§impl Hash for SearchEmbedType
impl Hash for SearchEmbedType
Source§impl PartialEq for SearchEmbedType
impl PartialEq for SearchEmbedType
Source§impl Serialize for SearchEmbedType
impl Serialize for SearchEmbedType
impl StructuralPartialEq for SearchEmbedType
Auto Trait Implementations§
impl Forget for SearchEmbedType
impl Freeze for SearchEmbedType
impl Move for SearchEmbedType
impl RefUnwindSafe for SearchEmbedType
impl Send for SearchEmbedType
impl Sync for SearchEmbedType
impl Unpin for SearchEmbedType
impl UnsafeUnpin for SearchEmbedType
impl UnwindSafe for SearchEmbedType
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