pub struct InputSavedStarGiftChat {
pub peer: InputPeer,
pub saved_id: i64,
}Expand description
Generated from:
inputSavedStarGiftChat#f101aa7f peer:InputPeer saved_id:long = InputSavedStarGiftFields§
§peer: InputPeer§saved_id: i64Trait Implementations§
Source§impl Clone for InputSavedStarGiftChat
impl Clone for InputSavedStarGiftChat
Source§fn clone(&self) -> InputSavedStarGiftChat
fn clone(&self) -> InputSavedStarGiftChat
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 InputSavedStarGiftChat
impl Debug for InputSavedStarGiftChat
Source§impl Deserializable for InputSavedStarGiftChat
impl Deserializable for InputSavedStarGiftChat
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<InputSavedStarGiftChat> for InputSavedStarGift
impl From<InputSavedStarGiftChat> for InputSavedStarGift
Source§fn from(x: InputSavedStarGiftChat) -> Self
fn from(x: InputSavedStarGiftChat) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputSavedStarGiftChat
impl Identifiable for InputSavedStarGiftChat
Source§const CONSTRUCTOR_ID: u32 = 0xf101aa7f
const CONSTRUCTOR_ID: u32 = 0xf101aa7f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputSavedStarGiftChat
impl PartialEq for InputSavedStarGiftChat
Source§impl TryFrom<InputSavedStarGift> for InputSavedStarGiftChat
impl TryFrom<InputSavedStarGift> for InputSavedStarGiftChat
Source§type Error = InputSavedStarGift
type Error = InputSavedStarGift
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputSavedStarGiftChat
Auto Trait Implementations§
impl Freeze for InputSavedStarGiftChat
impl RefUnwindSafe for InputSavedStarGiftChat
impl Send for InputSavedStarGiftChat
impl Sync for InputSavedStarGiftChat
impl Unpin for InputSavedStarGiftChat
impl UnsafeUnpin for InputSavedStarGiftChat
impl UnwindSafe for InputSavedStarGiftChat
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