Struct hangouts_rs::Participant[][src]

pub struct Participant {
    pub fallback_name: Option<String>,
    pub typ: Option<ParticipantType>,
    pub invitation_status: Option<InvitationStatus>,
    pub new_invitation_status: Option<InvitationStatus>,
    pub read_state: ReadState,
}

A participant in a conversation.

Fields

fallback_name: Option<String>

Fallback name.

typ: Option<ParticipantType>

Type of the participant.

invitation_status: Option<InvitationStatus>

Invitation status for the participant.

new_invitation_status: Option<InvitationStatus>read_state: ReadState

Read state for the participant.

Implementations

impl Participant[src]

pub fn name(&self) -> Option<&String>[src]

Get the name of the participant, if present.

Trait Implementations

impl Clone for Participant[src]

impl Debug for Participant[src]

impl PartialEq<Participant> for Participant[src]

impl StructuralPartialEq for Participant[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.