Enum bee_api_types::dtos::RelationDto
source · [−]pub enum RelationDto {
Known,
Unknown,
Autopeered,
}Expand description
Describes the relation with the peer.
Variants
Known
Unknown
Autopeered
Trait Implementations
sourceimpl Clone for RelationDto
impl Clone for RelationDto
sourcefn clone(&self) -> RelationDto
fn clone(&self) -> RelationDto
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RelationDto
impl Debug for RelationDto
sourceimpl<'de> Deserialize<'de> for RelationDto
impl<'de> Deserialize<'de> for RelationDto
sourcefn 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
sourceimpl PartialEq<RelationDto> for RelationDto
impl PartialEq<RelationDto> for RelationDto
sourcefn eq(&self, other: &RelationDto) -> bool
fn eq(&self, other: &RelationDto) -> bool
sourceimpl Serialize for RelationDto
impl Serialize for RelationDto
impl Eq for RelationDto
impl StructuralEq for RelationDto
impl StructuralPartialEq for RelationDto
Auto Trait Implementations
impl RefUnwindSafe for RelationDto
impl Send for RelationDto
impl Sync for RelationDto
impl Unpin for RelationDto
impl UnwindSafe for RelationDto
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more