pub struct GifAttachment {
pub gif_id: String,
pub provider: GifProvider,
}Expand description
GIF attachment for text posts.
Fields§
§gif_id: StringGIF identifier from the provider.
provider: GifProviderGIF provider (Tenor or Giphy).
Trait Implementations§
Source§impl Clone for GifAttachment
impl Clone for GifAttachment
Source§fn clone(&self) -> GifAttachment
fn clone(&self) -> GifAttachment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GifAttachment
impl Debug for GifAttachment
Source§impl<'de> Deserialize<'de> for GifAttachment
impl<'de> Deserialize<'de> for GifAttachment
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
Auto Trait Implementations§
impl Freeze for GifAttachment
impl RefUnwindSafe for GifAttachment
impl Send for GifAttachment
impl Sync for GifAttachment
impl Unpin for GifAttachment
impl UnsafeUnpin for GifAttachment
impl UnwindSafe for GifAttachment
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