pub enum InputGroupCall {
InputGroupCall(InputGroupCall),
Slug(InputGroupCallSlug),
InviteMessage(InputGroupCallInviteMessage),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for InputGroupCall
impl Clone for InputGroupCall
Source§fn clone(&self) -> InputGroupCall
fn clone(&self) -> InputGroupCall
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 InputGroupCall
impl Debug for InputGroupCall
Source§impl Deserializable for InputGroupCall
impl Deserializable for InputGroupCall
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputGroupCall> for InputGroupCall
impl From<InputGroupCall> for InputGroupCall
Source§fn from(x: InputGroupCall) -> Self
fn from(x: InputGroupCall) -> Self
Converts to this type from the input type.
Source§impl From<InputGroupCallInviteMessage> for InputGroupCall
impl From<InputGroupCallInviteMessage> for InputGroupCall
Source§fn from(x: InputGroupCallInviteMessage) -> Self
fn from(x: InputGroupCallInviteMessage) -> Self
Converts to this type from the input type.
Source§impl From<InputGroupCallSlug> for InputGroupCall
impl From<InputGroupCallSlug> for InputGroupCall
Source§fn from(x: InputGroupCallSlug) -> Self
fn from(x: InputGroupCallSlug) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputGroupCall
impl PartialEq for InputGroupCall
Source§impl Serializable for InputGroupCall
impl Serializable for InputGroupCall
Source§impl TryFrom<InputGroupCall> for InputGroupCall
impl TryFrom<InputGroupCall> for InputGroupCall
Source§type Error = InputGroupCall
type Error = InputGroupCall
The type returned in the event of a conversion error.
Source§impl TryFrom<InputGroupCall> for InputGroupCallInviteMessage
impl TryFrom<InputGroupCall> for InputGroupCallInviteMessage
Source§type Error = InputGroupCall
type Error = InputGroupCall
The type returned in the event of a conversion error.
Source§impl TryFrom<InputGroupCall> for InputGroupCallSlug
impl TryFrom<InputGroupCall> for InputGroupCallSlug
Source§type Error = InputGroupCall
type Error = InputGroupCall
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputGroupCall
Auto Trait Implementations§
impl Freeze for InputGroupCall
impl RefUnwindSafe for InputGroupCall
impl Send for InputGroupCall
impl Sync for InputGroupCall
impl Unpin for InputGroupCall
impl UnsafeUnpin for InputGroupCall
impl UnwindSafe for InputGroupCall
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