[][src]Struct tox_packet::onion::FriendRequest

pub struct FriendRequest { /* fields omitted */ }

Friend request that can be enclosed in onion data packet and sent through onion path.

LengthContent
10x20
4NoSpam
1..991Message

Implementations

impl FriendRequest[src]

pub fn new(nospam: NoSpam, msg: String) -> Self[src]

Create new object

Trait Implementations

impl Clone for FriendRequest[src]

impl Debug for FriendRequest[src]

impl Eq for FriendRequest[src]

impl FromBytes for FriendRequest[src]

impl PartialEq<FriendRequest> for FriendRequest[src]

impl StructuralEq for FriendRequest[src]

impl StructuralPartialEq for FriendRequest[src]

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