#[non_exhaustive]pub struct ResubscriptionEmote {
pub begin: i64,
pub end: i64,
pub id: EmoteId,
}
Available on crate feature
emote
only.Expand description
An emote index as defined by eventsub, similar to IRC emotes
twitch tag.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.begin: i64
The index of where the Emote starts in the text.
end: i64
The index of where the Emote ends in the text.
id: EmoteId
The emote ID.
Trait Implementations§
Source§impl Clone for ResubscriptionEmote
impl Clone for ResubscriptionEmote
Source§fn clone(&self) -> ResubscriptionEmote
fn clone(&self) -> ResubscriptionEmote
Returns a copy 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 ResubscriptionEmote
impl Debug for ResubscriptionEmote
Source§impl<'de> Deserialize<'de> for ResubscriptionEmote
impl<'de> Deserialize<'de> for ResubscriptionEmote
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 ResubscriptionEmote
impl Display for ResubscriptionEmote
Source§impl PartialEq for ResubscriptionEmote
impl PartialEq for ResubscriptionEmote
Source§impl Serialize for ResubscriptionEmote
impl Serialize for ResubscriptionEmote
impl Eq for ResubscriptionEmote
impl StructuralPartialEq for ResubscriptionEmote
Auto Trait Implementations§
impl Freeze for ResubscriptionEmote
impl RefUnwindSafe for ResubscriptionEmote
impl Send for ResubscriptionEmote
impl Sync for ResubscriptionEmote
impl Unpin for ResubscriptionEmote
impl UnwindSafe for ResubscriptionEmote
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)