pub struct SetBoostsToUnblockRestrictions {
pub channel: InputChannel,
pub boosts: i32,
}Expand description
channels.setBoostsToUnblockRestrictions
Generated from:
channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = UpdatesFields§
§channel: InputChannel§boosts: i32Trait Implementations§
Source§impl Clone for SetBoostsToUnblockRestrictions
impl Clone for SetBoostsToUnblockRestrictions
Source§fn clone(&self) -> SetBoostsToUnblockRestrictions
fn clone(&self) -> SetBoostsToUnblockRestrictions
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 SetBoostsToUnblockRestrictions
impl Identifiable for SetBoostsToUnblockRestrictions
Source§const CONSTRUCTOR_ID: u32 = 0xad399cee
const CONSTRUCTOR_ID: u32 = 0xad399cee
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SetBoostsToUnblockRestrictions
impl PartialEq for SetBoostsToUnblockRestrictions
Source§fn eq(&self, other: &SetBoostsToUnblockRestrictions) -> bool
fn eq(&self, other: &SetBoostsToUnblockRestrictions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetBoostsToUnblockRestrictions
Auto Trait Implementations§
impl Freeze for SetBoostsToUnblockRestrictions
impl RefUnwindSafe for SetBoostsToUnblockRestrictions
impl Send for SetBoostsToUnblockRestrictions
impl Sync for SetBoostsToUnblockRestrictions
impl Unpin for SetBoostsToUnblockRestrictions
impl UnsafeUnpin for SetBoostsToUnblockRestrictions
impl UnwindSafe for SetBoostsToUnblockRestrictions
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