pub struct UpdateBotNewBusinessMessage {
pub connection_id: String,
pub message: Message,
pub reply_to_message: Option<Message>,
pub qts: i32,
}Expand description
Generated from:
updateBotNewBusinessMessage#9ddb347c flags:# connection_id:string message:Message reply_to_message:flags.0?Message qts:int = UpdateFields§
§connection_id: String§message: Message§reply_to_message: Option<Message>§qts: i32Trait Implementations§
Source§impl Clone for UpdateBotNewBusinessMessage
impl Clone for UpdateBotNewBusinessMessage
Source§fn clone(&self) -> UpdateBotNewBusinessMessage
fn clone(&self) -> UpdateBotNewBusinessMessage
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 UpdateBotNewBusinessMessage
impl Debug for UpdateBotNewBusinessMessage
Source§impl Deserializable for UpdateBotNewBusinessMessage
impl Deserializable for UpdateBotNewBusinessMessage
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<UpdateBotNewBusinessMessage> for Update
impl From<UpdateBotNewBusinessMessage> for Update
Source§fn from(x: UpdateBotNewBusinessMessage) -> Self
fn from(x: UpdateBotNewBusinessMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotNewBusinessMessage
impl Identifiable for UpdateBotNewBusinessMessage
Source§const CONSTRUCTOR_ID: u32 = 0x9ddb347c
const CONSTRUCTOR_ID: u32 = 0x9ddb347c
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdateBotNewBusinessMessage
impl TryFrom<Update> for UpdateBotNewBusinessMessage
impl StructuralPartialEq for UpdateBotNewBusinessMessage
Auto Trait Implementations§
impl Freeze for UpdateBotNewBusinessMessage
impl RefUnwindSafe for UpdateBotNewBusinessMessage
impl Send for UpdateBotNewBusinessMessage
impl Sync for UpdateBotNewBusinessMessage
impl Unpin for UpdateBotNewBusinessMessage
impl UnsafeUnpin for UpdateBotNewBusinessMessage
impl UnwindSafe for UpdateBotNewBusinessMessage
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