Enum reinfer_client::resources::source::SourceKind
source · pub enum SourceKind {
Call,
Chat,
Unknown(Box<str>),
}
Variants§
Trait Implementations§
source§impl Clone for SourceKind
impl Clone for SourceKind
source§fn clone(&self) -> SourceKind
fn clone(&self) -> SourceKind
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 SourceKind
impl Debug for SourceKind
source§impl<'de> Deserialize<'de> for SourceKind
impl<'de> Deserialize<'de> for SourceKind
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 SourceKind
impl Display for SourceKind
source§impl FromStr for SourceKind
impl FromStr for SourceKind
source§impl Hash for SourceKind
impl Hash for SourceKind
source§impl PartialEq for SourceKind
impl PartialEq for SourceKind
source§fn eq(&self, other: &SourceKind) -> bool
fn eq(&self, other: &SourceKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SourceKindwhere
Self: Display,
impl Serialize for SourceKindwhere
Self: Display,
impl Eq for SourceKind
impl StructuralPartialEq for SourceKind
Auto Trait Implementations§
impl Freeze for SourceKind
impl RefUnwindSafe for SourceKind
impl Send for SourceKind
impl Sync for SourceKind
impl Unpin for SourceKind
impl UnwindSafe for SourceKind
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§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.