pub struct InputInvoiceMessage {
pub peer: InputPeer,
pub msg_id: i32,
}Expand description
Generated from:
inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoiceFields§
§peer: InputPeer§msg_id: i32Trait Implementations§
Source§impl Clone for InputInvoiceMessage
impl Clone for InputInvoiceMessage
Source§fn clone(&self) -> InputInvoiceMessage
fn clone(&self) -> InputInvoiceMessage
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 InputInvoiceMessage
impl Debug for InputInvoiceMessage
Source§impl Deserializable for InputInvoiceMessage
impl Deserializable for InputInvoiceMessage
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<InputInvoiceMessage> for InputInvoice
impl From<InputInvoiceMessage> for InputInvoice
Source§fn from(x: InputInvoiceMessage) -> Self
fn from(x: InputInvoiceMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputInvoiceMessage
impl Identifiable for InputInvoiceMessage
Source§const CONSTRUCTOR_ID: u32 = 0xc5b56859
const CONSTRUCTOR_ID: u32 = 0xc5b56859
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputInvoiceMessage
impl PartialEq for InputInvoiceMessage
Source§impl Serializable for InputInvoiceMessage
impl Serializable for InputInvoiceMessage
Source§impl TryFrom<InputInvoice> for InputInvoiceMessage
impl TryFrom<InputInvoice> for InputInvoiceMessage
Source§type Error = InputInvoice
type Error = InputInvoice
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputInvoiceMessage
Auto Trait Implementations§
impl Freeze for InputInvoiceMessage
impl RefUnwindSafe for InputInvoiceMessage
impl Send for InputInvoiceMessage
impl Sync for InputInvoiceMessage
impl Unpin for InputInvoiceMessage
impl UnsafeUnpin for InputInvoiceMessage
impl UnwindSafe for InputInvoiceMessage
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