pub enum InputSavedStarGift {
User(InputSavedStarGiftUser),
Chat(InputSavedStarGiftChat),
Slug(InputSavedStarGiftSlug),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for InputSavedStarGift
impl Clone for InputSavedStarGift
Source§fn clone(&self) -> InputSavedStarGift
fn clone(&self) -> InputSavedStarGift
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 InputSavedStarGift
impl Debug for InputSavedStarGift
Source§impl Deserializable for InputSavedStarGift
impl Deserializable for InputSavedStarGift
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 From<InputSavedStarGiftSlug> for InputSavedStarGift
impl From<InputSavedStarGiftSlug> for InputSavedStarGift
Source§fn from(x: InputSavedStarGiftSlug) -> Self
fn from(x: InputSavedStarGiftSlug) -> Self
Converts to this type from the input type.
Source§impl From<InputSavedStarGiftUser> for InputSavedStarGift
impl From<InputSavedStarGiftUser> for InputSavedStarGift
Source§fn from(x: InputSavedStarGiftUser) -> Self
fn from(x: InputSavedStarGiftUser) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputSavedStarGift
impl PartialEq for InputSavedStarGift
Source§impl Serializable for InputSavedStarGift
impl Serializable for InputSavedStarGift
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.
Source§impl TryFrom<InputSavedStarGift> for InputSavedStarGiftSlug
impl TryFrom<InputSavedStarGift> for InputSavedStarGiftSlug
Source§type Error = InputSavedStarGift
type Error = InputSavedStarGift
The type returned in the event of a conversion error.
Source§impl TryFrom<InputSavedStarGift> for InputSavedStarGiftUser
impl TryFrom<InputSavedStarGift> for InputSavedStarGiftUser
Source§type Error = InputSavedStarGift
type Error = InputSavedStarGift
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputSavedStarGift
Auto Trait Implementations§
impl Freeze for InputSavedStarGift
impl RefUnwindSafe for InputSavedStarGift
impl Send for InputSavedStarGift
impl Sync for InputSavedStarGift
impl Unpin for InputSavedStarGift
impl UnsafeUnpin for InputSavedStarGift
impl UnwindSafe for InputSavedStarGift
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