Struct activitypub::link::Mention [−][src]
pub struct Mention { pub link_props: LinkProperties, // some fields omitted }
A specialized Link that represents an @mention.
Fields
link_props: LinkProperties
Adds all valid link properties to this struct
Trait Implementations
impl Link for Mention
[src]
impl Link for Mention
impl<'de> Deserialize<'de> for Mention
[src]
impl<'de> Deserialize<'de> for Mention
fn deserialize<__D>(
__deserializer: __D
) -> Result<Mention, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Mention, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for Mention
[src]
impl Serialize for Mention
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
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
impl Clone for Mention
[src]
impl Clone for Mention
fn clone(&self) -> Mention
[src]
fn clone(&self) -> Mention
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Mention
[src]
impl Default for Mention
impl Debug for Mention
[src]
impl Debug for Mention