Enum fractal_dto::v1::friends::RelationshipDTO
[−]
[src]
pub enum RelationshipDTO {
Stranger,
Acquaintance,
CoWorker,
Friend,
Family,
}Enum representing the relationship between two friends.
Variants
StrangerA stranger to the user
AcquaintanceAn Acquaintance to the uesr
CoWorkerA CoWorker to the user
FriendA friend to the uesr
FamilyA Family member to the user
Trait Implementations
impl Clone for RelationshipDTO[src]
fn clone(&self) -> RelationshipDTO
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 RelationshipDTO[src]
impl Encodable for RelationshipDTO[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder.
impl Decodable for RelationshipDTO[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<RelationshipDTO, __D::Error>
Deserialize a value using a Decoder.
impl PartialEq for RelationshipDTO[src]
fn eq(&self, __arg_0: &RelationshipDTO) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.