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
origin_id: u64
Where the connection originated.
destination_id: u64
Who the user is trying to connect to.
message: Option<String>
Message for the request.
relationship: RelationshipDTO
The particulars of there relationship.
Trait Implementations
impl Clone for FriendRequestDTO
[src]
fn clone(&self) -> FriendRequestDTO
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 Encodable for FriendRequestDTO
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Decodable for FriendRequestDTO
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<FriendRequestDTO, __D::Error>
__arg_0: &mut __D
) -> Result<FriendRequestDTO, __D::Error>
Deserialize a value using a Decoder
.