pub struct MessageActionPaidMessagesPrice {
pub broadcast_messages_allowed: bool,
pub stars: i64,
}Expand description
messageActionPaidMessagesPrice
Generated from:
messageActionPaidMessagesPrice#84b88578 flags:# broadcast_messages_allowed:flags.0?true stars:long = MessageActionFields§
§broadcast_messages_allowed: bool§stars: i64Trait Implementations§
Source§impl Clone for MessageActionPaidMessagesPrice
impl Clone for MessageActionPaidMessagesPrice
Source§fn clone(&self) -> MessageActionPaidMessagesPrice
fn clone(&self) -> MessageActionPaidMessagesPrice
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 Deserializable for MessageActionPaidMessagesPrice
impl Deserializable for MessageActionPaidMessagesPrice
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<MessageActionPaidMessagesPrice> for MessageAction
impl From<MessageActionPaidMessagesPrice> for MessageAction
Source§fn from(x: MessageActionPaidMessagesPrice) -> Self
fn from(x: MessageActionPaidMessagesPrice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionPaidMessagesPrice
impl Identifiable for MessageActionPaidMessagesPrice
Source§const CONSTRUCTOR_ID: u32 = 0x84b88578
const CONSTRUCTOR_ID: u32 = 0x84b88578
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageActionPaidMessagesPrice
impl PartialEq for MessageActionPaidMessagesPrice
Source§fn eq(&self, other: &MessageActionPaidMessagesPrice) -> bool
fn eq(&self, other: &MessageActionPaidMessagesPrice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<MessageAction> for MessageActionPaidMessagesPrice
impl TryFrom<MessageAction> for MessageActionPaidMessagesPrice
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionPaidMessagesPrice
Auto Trait Implementations§
impl Freeze for MessageActionPaidMessagesPrice
impl RefUnwindSafe for MessageActionPaidMessagesPrice
impl Send for MessageActionPaidMessagesPrice
impl Sync for MessageActionPaidMessagesPrice
impl Unpin for MessageActionPaidMessagesPrice
impl UnsafeUnpin for MessageActionPaidMessagesPrice
impl UnwindSafe for MessageActionPaidMessagesPrice
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