pub struct AvailableEffect {
pub premium_required: bool,
pub id: i64,
pub emoticon: String,
pub static_icon_id: Option<i64>,
pub effect_sticker_id: i64,
pub effect_animation_id: Option<i64>,
}Expand description
Generated from:
availableEffect#93c3e27e flags:# premium_required:flags.2?true id:long emoticon:string static_icon_id:flags.0?long effect_sticker_id:long effect_animation_id:flags.1?long = AvailableEffectFields§
§id: i64§emoticon: String§static_icon_id: Option<i64>§effect_sticker_id: i64§effect_animation_id: Option<i64>Trait Implementations§
Source§impl Clone for AvailableEffect
impl Clone for AvailableEffect
Source§fn clone(&self) -> AvailableEffect
fn clone(&self) -> AvailableEffect
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 AvailableEffect
impl Debug for AvailableEffect
Source§impl Deserializable for AvailableEffect
impl Deserializable for AvailableEffect
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<AvailableEffect> for AvailableEffect
impl From<AvailableEffect> for AvailableEffect
Source§fn from(x: AvailableEffect) -> Self
fn from(x: AvailableEffect) -> Self
Converts to this type from the input type.
Source§impl Identifiable for AvailableEffect
impl Identifiable for AvailableEffect
Source§const CONSTRUCTOR_ID: u32 = 0x93c3e27e
const CONSTRUCTOR_ID: u32 = 0x93c3e27e
The constructor ID as specified in the TL schema.
Source§impl PartialEq for AvailableEffect
impl PartialEq for AvailableEffect
Source§impl Serializable for AvailableEffect
impl Serializable for AvailableEffect
Source§impl TryFrom<AvailableEffect> for AvailableEffect
impl TryFrom<AvailableEffect> for AvailableEffect
Source§type Error = AvailableEffect
type Error = AvailableEffect
The type returned in the event of a conversion error.
impl StructuralPartialEq for AvailableEffect
Auto Trait Implementations§
impl Freeze for AvailableEffect
impl RefUnwindSafe for AvailableEffect
impl Send for AvailableEffect
impl Sync for AvailableEffect
impl Unpin for AvailableEffect
impl UnsafeUnpin for AvailableEffect
impl UnwindSafe for AvailableEffect
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