pub struct InlineBotSwitchPm {
pub text: String,
pub start_param: String,
}Expand description
Generated from:
inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPMFields§
§text: String§start_param: StringTrait Implementations§
Source§impl Clone for InlineBotSwitchPm
impl Clone for InlineBotSwitchPm
Source§fn clone(&self) -> InlineBotSwitchPm
fn clone(&self) -> InlineBotSwitchPm
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 InlineBotSwitchPm
impl Debug for InlineBotSwitchPm
Source§impl Deserializable for InlineBotSwitchPm
impl Deserializable for InlineBotSwitchPm
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<InlineBotSwitchPm> for InlineBotSwitchPm
impl From<InlineBotSwitchPm> for InlineBotSwitchPm
Source§fn from(x: InlineBotSwitchPm) -> Self
fn from(x: InlineBotSwitchPm) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InlineBotSwitchPm
impl Identifiable for InlineBotSwitchPm
Source§const CONSTRUCTOR_ID: u32 = 0x3c20629f
const CONSTRUCTOR_ID: u32 = 0x3c20629f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InlineBotSwitchPm
impl PartialEq for InlineBotSwitchPm
Source§impl Serializable for InlineBotSwitchPm
impl Serializable for InlineBotSwitchPm
Source§impl TryFrom<InlineBotSwitchPm> for InlineBotSwitchPm
impl TryFrom<InlineBotSwitchPm> for InlineBotSwitchPm
Source§type Error = InlineBotSwitchPm
type Error = InlineBotSwitchPm
The type returned in the event of a conversion error.
impl StructuralPartialEq for InlineBotSwitchPm
Auto Trait Implementations§
impl Freeze for InlineBotSwitchPm
impl RefUnwindSafe for InlineBotSwitchPm
impl Send for InlineBotSwitchPm
impl Sync for InlineBotSwitchPm
impl Unpin for InlineBotSwitchPm
impl UnsafeUnpin for InlineBotSwitchPm
impl UnwindSafe for InlineBotSwitchPm
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