pub struct ToggleChatStarGiftNotifications {
pub enabled: bool,
pub peer: InputPeer,
}Expand description
payments.toggleChatStarGiftNotifications
Generated from:
payments.toggleChatStarGiftNotifications#60eaefa1 flags:# enabled:flags.0?true peer:InputPeer = BoolFields§
§enabled: bool§peer: InputPeerTrait Implementations§
Source§impl Clone for ToggleChatStarGiftNotifications
impl Clone for ToggleChatStarGiftNotifications
Source§fn clone(&self) -> ToggleChatStarGiftNotifications
fn clone(&self) -> ToggleChatStarGiftNotifications
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 Identifiable for ToggleChatStarGiftNotifications
impl Identifiable for ToggleChatStarGiftNotifications
Source§const CONSTRUCTOR_ID: u32 = 0x60eaefa1
const CONSTRUCTOR_ID: u32 = 0x60eaefa1
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ToggleChatStarGiftNotifications
impl PartialEq for ToggleChatStarGiftNotifications
Source§fn eq(&self, other: &ToggleChatStarGiftNotifications) -> bool
fn eq(&self, other: &ToggleChatStarGiftNotifications) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToggleChatStarGiftNotifications
Auto Trait Implementations§
impl Freeze for ToggleChatStarGiftNotifications
impl RefUnwindSafe for ToggleChatStarGiftNotifications
impl Send for ToggleChatStarGiftNotifications
impl Sync for ToggleChatStarGiftNotifications
impl Unpin for ToggleChatStarGiftNotifications
impl UnsafeUnpin for ToggleChatStarGiftNotifications
impl UnwindSafe for ToggleChatStarGiftNotifications
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