pub struct InlineCustomEmoji {
pub text_block: TextBlock,
pub custom_emoji_id: String,
}Fields§
§text_block: TextBlockThe part of the text that is the custom emoji
custom_emoji_id: StringFor “custom_emoji” only, unique identifier of the custom emoji. Use
get_custom_emoji_stickers to get full information about the sticker
Trait Implementations§
Source§impl Clone for InlineCustomEmoji
impl Clone for InlineCustomEmoji
Source§fn clone(&self) -> InlineCustomEmoji
fn clone(&self) -> InlineCustomEmoji
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InlineCustomEmoji
impl Debug for InlineCustomEmoji
Source§impl<'de> Deserialize<'de> for InlineCustomEmoji
impl<'de> Deserialize<'de> for InlineCustomEmoji
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 InlineCustomEmoji
Source§impl PartialEq for InlineCustomEmoji
impl PartialEq for InlineCustomEmoji
Source§impl Serialize for InlineCustomEmoji
impl Serialize for InlineCustomEmoji
impl StructuralPartialEq for InlineCustomEmoji
Auto Trait Implementations§
impl Freeze for InlineCustomEmoji
impl RefUnwindSafe for InlineCustomEmoji
impl Send for InlineCustomEmoji
impl Sync for InlineCustomEmoji
impl Unpin for InlineCustomEmoji
impl UnsafeUnpin for InlineCustomEmoji
impl UnwindSafe for InlineCustomEmoji
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DebugAny for T
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.