Enum grammers_tl_types::enums::InputChannel
source · pub enum InputChannel {
Empty,
Channel(InputChannel),
FromMessage(InputChannelFromMessage),
}
Variants§
Trait Implementations§
source§impl Clone for InputChannel
impl Clone for InputChannel
source§fn clone(&self) -> InputChannel
fn clone(&self) -> InputChannel
Returns a copy 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 InputChannel
impl Debug for InputChannel
source§impl Deserializable for InputChannel
impl Deserializable for InputChannel
source§impl From<InputChannel> for InputChannel
impl From<InputChannel> for InputChannel
source§fn from(x: InputChannel) -> Self
fn from(x: InputChannel) -> Self
Converts to this type from the input type.
source§impl From<InputChannelEmpty> for InputChannel
impl From<InputChannelEmpty> for InputChannel
source§fn from(_x: InputChannelEmpty) -> Self
fn from(_x: InputChannelEmpty) -> Self
Converts to this type from the input type.
source§impl From<InputChannelFromMessage> for InputChannel
impl From<InputChannelFromMessage> for InputChannel
source§fn from(x: InputChannelFromMessage) -> Self
fn from(x: InputChannelFromMessage) -> Self
Converts to this type from the input type.
source§impl PartialEq for InputChannel
impl PartialEq for InputChannel
source§fn eq(&self, other: &InputChannel) -> bool
fn eq(&self, other: &InputChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serializable for InputChannel
impl Serializable for InputChannel
source§impl TryFrom<InputChannel> for InputChannel
impl TryFrom<InputChannel> for InputChannel
source§impl TryFrom<InputChannel> for InputChannelEmpty
impl TryFrom<InputChannel> for InputChannelEmpty
impl StructuralPartialEq for InputChannel
Auto Trait Implementations§
impl RefUnwindSafe for InputChannel
impl Send for InputChannel
impl Sync for InputChannel
impl Unpin for InputChannel
impl UnwindSafe for InputChannel
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