pub struct TogglePeerTranslations {
pub disabled: bool,
pub peer: InputPeer,
}Expand description
messages.togglePeerTranslations
Generated from:
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = BoolFields§
§disabled: bool§peer: InputPeerTrait Implementations§
Source§impl Clone for TogglePeerTranslations
impl Clone for TogglePeerTranslations
Source§fn clone(&self) -> TogglePeerTranslations
fn clone(&self) -> TogglePeerTranslations
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 TogglePeerTranslations
impl Debug for TogglePeerTranslations
Source§impl Identifiable for TogglePeerTranslations
impl Identifiable for TogglePeerTranslations
Source§const CONSTRUCTOR_ID: u32 = 0xe47cb579
const CONSTRUCTOR_ID: u32 = 0xe47cb579
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TogglePeerTranslations
impl PartialEq for TogglePeerTranslations
Source§impl RemoteCall for TogglePeerTranslations
impl RemoteCall for TogglePeerTranslations
impl StructuralPartialEq for TogglePeerTranslations
Auto Trait Implementations§
impl Freeze for TogglePeerTranslations
impl RefUnwindSafe for TogglePeerTranslations
impl Send for TogglePeerTranslations
impl Sync for TogglePeerTranslations
impl Unpin for TogglePeerTranslations
impl UnsafeUnpin for TogglePeerTranslations
impl UnwindSafe for TogglePeerTranslations
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