[][src]Struct wayk_proto::sm::client_channels::chat::ChatData

pub struct ChatData {
    pub friendly_name: String,
    pub status_text: String,
    pub distant_friendly_name: String,
    pub distant_status_text: String,
    pub capabilities: ChatCapabilitiesFlags,
}

Fields

friendly_name: Stringstatus_text: Stringdistant_friendly_name: Stringdistant_status_text: Stringcapabilities: ChatCapabilitiesFlags

Implementations

impl ChatData[src]

pub fn new() -> Self[src]

pub fn capabilities(self, capabilities: ChatCapabilitiesFlags) -> Self[src]

pub fn friendly_name<S: Into<String>>(self, friendly_name: S) -> Self[src]

pub fn status_text<S: Into<String>>(self, status_text: S) -> Self[src]

pub fn into_rc(self) -> ChatDataRc[src]

Trait Implementations

impl Clone for ChatData[src]

impl Debug for ChatData[src]

impl Default for ChatData[src]

impl PartialEq<ChatData> for ChatData[src]

impl StructuralPartialEq for ChatData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.