pub enum RelationDto {
Known,
Unknown,
Autopeered,
}Expand description
Describes the relation with the peer.
Variants§
Trait Implementations§
Source§impl Clone for RelationDto
impl Clone for RelationDto
Source§fn clone(&self) -> RelationDto
fn clone(&self) -> RelationDto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelationDto
impl Debug for RelationDto
Source§impl<'de> Deserialize<'de> for RelationDto
impl<'de> Deserialize<'de> for RelationDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RelationDto
impl PartialEq for RelationDto
Source§impl Serialize for RelationDto
impl Serialize for RelationDto
impl Eq for RelationDto
impl StructuralPartialEq for RelationDto
Auto Trait Implementations§
impl Freeze for RelationDto
impl RefUnwindSafe for RelationDto
impl Send for RelationDto
impl Sync for RelationDto
impl Unpin for RelationDto
impl UnwindSafe for RelationDto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more