Struct boltchat::events::join_event::JoinEvent[][src]

pub struct JoinEvent {
    pub e: EventMeta,
    pub d: JoinData,
}

Joinevent struct to de- serialize.

Fields

e: EventMetad: JoinData

Implementations

impl JoinEvent[src]

pub fn new(nick: String, pubkey: String) -> Self[src]

This is a library event that gets sent everytime you connect to a bolt.

Trait Implementations

impl Debug for JoinEvent[src]

impl<'de> Deserialize<'de> for JoinEvent[src]

impl Serialize for JoinEvent[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,