pub struct PendingFriendRequest {
pub fingerprint: String,
pub address: String,
pub peer_id: String,
pub received_at: i64,
}Expand description
Pending inbound dial that the user hasn’t yet acted on. Persisted so a
brief absence (or app restart) doesn’t lose the request. Auto-rejected
when older than PENDING_FRIEND_REQUEST_TTL_SECS (3 days).
Fields§
§fingerprint: String§address: String§peer_id: String§received_at: i64Trait Implementations§
Source§impl Clone for PendingFriendRequest
impl Clone for PendingFriendRequest
Source§fn clone(&self) -> PendingFriendRequest
fn clone(&self) -> PendingFriendRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PendingFriendRequest
impl RefUnwindSafe for PendingFriendRequest
impl Send for PendingFriendRequest
impl Sync for PendingFriendRequest
impl Unpin for PendingFriendRequest
impl UnsafeUnpin for PendingFriendRequest
impl UnwindSafe for PendingFriendRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more