Struct fractal_dto::v1::friends::ConfirmFriendRequestDTO
[−]
[src]
pub struct ConfirmFriendRequestDTO {
pub request_id: u64,
pub origin: u64,
pub destination: u64,
}Struct to a confirm pending connection
Fields
request_id: u64
The id of the connection
origin: u64
Where the connection originated
destination: u64
The user confirming the connection
Trait Implementations
impl Clone for ConfirmFriendRequestDTO[src]
fn clone(&self) -> ConfirmFriendRequestDTO
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 ConfirmFriendRequestDTO[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder.
impl Decodable for ConfirmFriendRequestDTO[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ConfirmFriendRequestDTO, __D::Error>
Deserialize a value using a Decoder.