Struct fractal_dto::v1::friends::FriendRequestDTO [] [src]

pub struct FriendRequestDTO {
    pub origin_id: u64,
    pub destination_id: u64,
    pub message: Option<String>,
    pub relationship: RelationshipDTO,
}

Struct for a fractal connection

Fields

Where the connection originated.

Who the user is trying to connect to.

Message for the request.

The particulars of there relationship.

Trait Implementations

impl Clone for FriendRequestDTO
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for FriendRequestDTO
[src]

Serialize a value using an Encoder.

impl Decodable for FriendRequestDTO
[src]

Deserialize a value using a Decoder.

impl DTO for FriendRequestDTO
[src]