[][src]Struct tox_packet::messenger::StatusMessage

pub struct StatusMessage(_);

StatusMessage is a struct that holds string of my status message.

This packet is used to transmit sender's status message to a friend. Every time a friend become online or my status message is changed, this packet is sent to the friend or to all friends of mine.

Serialized form:

LengthContent
10x31
0..1007UTF8 byte string

Implementations

impl StatusMessage[src]

pub fn new(message: String) -> Self[src]

Create new StatusMessage object.

Trait Implementations

impl Clone for StatusMessage[src]

impl Debug for StatusMessage[src]

impl Eq for StatusMessage[src]

impl FromBytes for StatusMessage[src]

impl PartialEq<StatusMessage> for StatusMessage[src]

impl StructuralEq for StatusMessage[src]

impl StructuralPartialEq for StatusMessage[src]

impl ToBytes for StatusMessage[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.