[−][src]Enum carapax_access::PrincipalChat
Represents a chat
Variants
Id(Integer)
Accepts updates only from a chat with specified ID
Username(String)
Accepts updates only from a chat with specified @username
Trait Implementations
impl PartialEq<PrincipalChat> for PrincipalChat
[src]
fn eq(&self, other: &PrincipalChat) -> bool
[src]
fn ne(&self, other: &PrincipalChat) -> bool
[src]
impl Clone for PrincipalChat
[src]
fn clone(&self) -> PrincipalChat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<PrincipalChat> for Principal
[src]
fn from(principal: PrincipalChat) -> Principal
[src]
impl From<i64> for PrincipalChat
[src]
fn from(chat_id: Integer) -> PrincipalChat
[src]
impl From<String> for PrincipalChat
[src]
fn from(username: String) -> PrincipalChat
[src]
impl<'a> From<&'a str> for PrincipalChat
[src]
fn from(username: &'a str) -> PrincipalChat
[src]
impl Debug for PrincipalChat
[src]
Auto Trait Implementations
impl Send for PrincipalChat
impl Sync for PrincipalChat
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Erased for T
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,