Struct fractal_api::v1::types::PendingFriendRequest
[−]
[src]
pub struct PendingFriendRequest { // some fields omitted }
Pending friend request.
Methods
impl PendingFriendRequest
[src]
fn get_connection_id(&self) -> u64
Gets the connection ID of the friend request.
fn get_origin_user(&self) -> &Profile
Gets the origin user's profile of the friend request.
fn get_message(&self) -> Option<&str>
Gets the message of the friend request.
Trait Implementations
impl Clone for PendingFriendRequest
[src]
fn clone(&self) -> PendingFriendRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for PendingFriendRequest
[src]
impl FromDTO<PendingFriendRequestDTO> for PendingFriendRequest
[src]
fn from_dto(dto: PendingFriendRequestDTO) -> StdResult<PendingFriendRequest, FromDTOError>
the from dto wrapper