pub enum InviteGroupCallParticipantResult {
UserPrivacyRestricted,
UserAlreadyParticipant,
UserWasBanned,
Success(InviteGroupCallParticipantResultSuccess),
}Variants§
UserPrivacyRestricted
The user can’t be invited due to their privacy settings
UserAlreadyParticipant
The user can’t be invited because they are already a participant of the call
UserWasBanned
The user can’t be invited because they were banned by the owner of the call and can be invited back only by the owner of the group call
Success(InviteGroupCallParticipantResultSuccess)
The user was invited and a service message of the type messageGroupCall was sent which can be used in declineGroupCallInvitation to cancel the invitation
Trait Implementations§
Source§impl Clone for InviteGroupCallParticipantResult
impl Clone for InviteGroupCallParticipantResult
Source§fn clone(&self) -> InviteGroupCallParticipantResult
fn clone(&self) -> InviteGroupCallParticipantResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for InviteGroupCallParticipantResult
impl<'de> Deserialize<'de> for InviteGroupCallParticipantResult
Source§fn 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
Source§impl PartialEq for InviteGroupCallParticipantResult
impl PartialEq for InviteGroupCallParticipantResult
Source§fn eq(&self, other: &InviteGroupCallParticipantResult) -> bool
fn eq(&self, other: &InviteGroupCallParticipantResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InviteGroupCallParticipantResult
Auto Trait Implementations§
impl Freeze for InviteGroupCallParticipantResult
impl RefUnwindSafe for InviteGroupCallParticipantResult
impl Send for InviteGroupCallParticipantResult
impl Sync for InviteGroupCallParticipantResult
impl Unpin for InviteGroupCallParticipantResult
impl UnsafeUnpin for InviteGroupCallParticipantResult
impl UnwindSafe for InviteGroupCallParticipantResult
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