Struct activitypub::activity::Like [−][src]
pub struct Like { pub like_props: LikeProperties, pub object_props: ObjectProperties, pub ap_object_props: ApObjectProperties, pub activity_props: ActivityProperties, // some fields omitted }
Indicates that the actor likes, recommends or endorses the object.
The target and origin typically have no defined meaning.
Fields
like_props: LikeProperties
object_props: ObjectProperties
ap_object_props: ApObjectProperties
activity_props: ActivityProperties
Trait Implementations
impl Clone for Like
[src]
impl Clone for Like
fn clone(&self) -> Like
[src]
fn clone(&self) -> Like
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 Debug for Like
[src]
impl Debug for Like
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Like
[src]
impl Default for Like
impl Object for Like
[src]
impl Object for Like
impl ObjectExt for Like
[src]
impl ObjectExt for Like
fn props(&self) -> &ObjectProperties
[src]
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
[src]
fn props_mut(&mut self) -> &mut ObjectProperties
impl ApObjectExt for Like
[src]
impl ApObjectExt for Like
fn props(&self) -> &ApObjectProperties
[src]
fn props(&self) -> &ApObjectProperties
fn props_mut(&mut self) -> &mut ApObjectProperties
[src]
fn props_mut(&mut self) -> &mut ApObjectProperties
impl Activity for Like
[src]
impl Activity for Like
impl ActivityExt for Like
[src]
impl ActivityExt for Like
fn props(&self) -> &ActivityProperties
[src]
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
[src]
fn props_mut(&mut self) -> &mut ActivityProperties