pub enum TerminalReaderStatus {
Offline,
Online,
}
Expand description
An enum representing the possible values of an TerminalReader
’s status
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for TerminalReaderStatus
impl AsRef<str> for TerminalReaderStatus
source§impl Clone for TerminalReaderStatus
impl Clone for TerminalReaderStatus
source§fn clone(&self) -> TerminalReaderStatus
fn clone(&self) -> TerminalReaderStatus
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 TerminalReaderStatus
impl Debug for TerminalReaderStatus
source§impl Default for TerminalReaderStatus
impl Default for TerminalReaderStatus
source§impl<'de> Deserialize<'de> for TerminalReaderStatus
impl<'de> Deserialize<'de> for TerminalReaderStatus
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 Display for TerminalReaderStatus
impl Display for TerminalReaderStatus
source§impl PartialEq for TerminalReaderStatus
impl PartialEq for TerminalReaderStatus
source§fn eq(&self, other: &TerminalReaderStatus) -> bool
fn eq(&self, other: &TerminalReaderStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TerminalReaderStatus
impl Serialize for TerminalReaderStatus
impl Copy for TerminalReaderStatus
impl Eq for TerminalReaderStatus
impl StructuralPartialEq for TerminalReaderStatus
Auto Trait Implementations§
impl RefUnwindSafe for TerminalReaderStatus
impl Send for TerminalReaderStatus
impl Sync for TerminalReaderStatus
impl Unpin for TerminalReaderStatus
impl UnwindSafe for TerminalReaderStatus
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.