[−][src]Struct tox_packet::friend_connection::FriendRequests
FriendRequests is a struct that holds info of nospam and greeting message.
This packet is used to transmit sender's long term public key, npspam and a message. It is sent by onion data packet or net-crypto. If the friend is already directly connected with me and not in conference, it is sent using net-crypto. Otherwise it is sent using onion. Both onion and net-crypto packet itself have real public key of sender. This is why this packet does not contain long term public key.
Implementations
impl FriendRequests
[src]
Trait Implementations
impl Clone for FriendRequests
[src]
pub fn clone(&self) -> FriendRequests
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FriendRequests
[src]
impl Eq for FriendRequests
[src]
impl FromBytes for FriendRequests
[src]
impl PartialEq<FriendRequests> for FriendRequests
[src]
pub fn eq(&self, other: &FriendRequests) -> bool
[src]
pub fn ne(&self, other: &FriendRequests) -> bool
[src]
impl StructuralEq for FriendRequests
[src]
impl StructuralPartialEq for FriendRequests
[src]
impl ToBytes for FriendRequests
[src]
Auto Trait Implementations
impl RefUnwindSafe for FriendRequests
[src]
impl Send for FriendRequests
[src]
impl Sync for FriendRequests
[src]
impl Unpin for FriendRequests
[src]
impl UnwindSafe for FriendRequests
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,