pub struct SetGroupCallParticipantVolumeLevel { /* private fields */ }Expand description
Changes volume level of a participant of an active group call. If the current user can manage the group call, then the participant’s volume level will be changed for all users with the default volume level
Implementations
sourceimpl SetGroupCallParticipantVolumeLevel
impl SetGroupCallParticipantVolumeLevel
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> SetGroupCallParticipantVolumeLevelBuilder
pub fn group_call_id(&self) -> i32
pub fn participant_id(&self) -> &MessageSender
pub fn volume_level(&self) -> i32
Trait Implementations
sourceimpl AsRef<SetGroupCallParticipantVolumeLevel> for SetGroupCallParticipantVolumeLevel
impl AsRef<SetGroupCallParticipantVolumeLevel> for SetGroupCallParticipantVolumeLevel
sourcefn as_ref(&self) -> &SetGroupCallParticipantVolumeLevel
fn as_ref(&self) -> &SetGroupCallParticipantVolumeLevel
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SetGroupCallParticipantVolumeLevel
impl Clone for SetGroupCallParticipantVolumeLevel
sourcefn clone(&self) -> SetGroupCallParticipantVolumeLevel
fn clone(&self) -> SetGroupCallParticipantVolumeLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for SetGroupCallParticipantVolumeLevel
impl Default for SetGroupCallParticipantVolumeLevel
sourcefn default() -> SetGroupCallParticipantVolumeLevel
fn default() -> SetGroupCallParticipantVolumeLevel
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SetGroupCallParticipantVolumeLevel
impl<'de> Deserialize<'de> for SetGroupCallParticipantVolumeLevel
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SetGroupCallParticipantVolumeLevel
impl Send for SetGroupCallParticipantVolumeLevel
impl Sync for SetGroupCallParticipantVolumeLevel
impl Unpin for SetGroupCallParticipantVolumeLevel
impl UnwindSafe for SetGroupCallParticipantVolumeLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more