pub struct UpdateBotStarsSubscription {
pub canceled: bool,
pub payment_failed: bool,
pub restored: bool,
pub user_id: i64,
pub payload: Vec<u8>,
pub qts: i32,
}Expand description
Generated from:
updateBotStarsSubscription#6c0d8e23 flags:# canceled:flags.0?true payment_failed:flags.1?true restored:flags.2?true user_id:long payload:bytes qts:int = UpdateFields§
§canceled: bool§payment_failed: bool§restored: bool§user_id: i64§payload: Vec<u8>§qts: i32Trait Implementations§
Source§impl Clone for UpdateBotStarsSubscription
impl Clone for UpdateBotStarsSubscription
Source§fn clone(&self) -> UpdateBotStarsSubscription
fn clone(&self) -> UpdateBotStarsSubscription
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 UpdateBotStarsSubscription
impl Debug for UpdateBotStarsSubscription
Source§impl Deserializable for UpdateBotStarsSubscription
impl Deserializable for UpdateBotStarsSubscription
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<UpdateBotStarsSubscription> for Update
impl From<UpdateBotStarsSubscription> for Update
Source§fn from(x: UpdateBotStarsSubscription) -> Self
fn from(x: UpdateBotStarsSubscription) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotStarsSubscription
impl Identifiable for UpdateBotStarsSubscription
Source§const CONSTRUCTOR_ID: u32 = 0x6c0d8e23
const CONSTRUCTOR_ID: u32 = 0x6c0d8e23
The constructor ID as specified in the TL schema.
impl StructuralPartialEq for UpdateBotStarsSubscription
Auto Trait Implementations§
impl Freeze for UpdateBotStarsSubscription
impl RefUnwindSafe for UpdateBotStarsSubscription
impl Send for UpdateBotStarsSubscription
impl Sync for UpdateBotStarsSubscription
impl Unpin for UpdateBotStarsSubscription
impl UnsafeUnpin for UpdateBotStarsSubscription
impl UnwindSafe for UpdateBotStarsSubscription
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