Enum activitystreams::object::kind::RelationshipType
source · pub enum RelationshipType {
Relationship,
}
Expand description
A type stand-in for the constant $y, deriving serde traits
Variants§
Relationship
Trait Implementations§
source§impl Clone for RelationshipType
impl Clone for RelationshipType
source§fn clone(&self) -> RelationshipType
fn clone(&self) -> RelationshipType
Returns a copy 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 RelationshipType
impl Debug for RelationshipType
source§impl Default for RelationshipType
impl Default for RelationshipType
source§fn default() -> RelationshipType
fn default() -> RelationshipType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RelationshipType
impl<'de> Deserialize<'de> for RelationshipType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RelationshipType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RelationshipType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RelationshipType
impl Display for RelationshipType
source§impl Hash for RelationshipType
impl Hash for RelationshipType
source§impl Ord for RelationshipType
impl Ord for RelationshipType
source§fn cmp(&self, other: &RelationshipType) -> Ordering
fn cmp(&self, other: &RelationshipType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RelationshipType> for RelationshipType
impl PartialEq<RelationshipType> for RelationshipType
source§fn eq(&self, other: &RelationshipType) -> bool
fn eq(&self, other: &RelationshipType) -> bool
source§impl PartialOrd<RelationshipType> for RelationshipType
impl PartialOrd<RelationshipType> for RelationshipType
source§fn partial_cmp(&self, other: &RelationshipType) -> Option<Ordering>
fn partial_cmp(&self, other: &RelationshipType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RelationshipType
impl Serialize for RelationshipType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more