Struct activitystreams_types::activity::Like [−][src]
pub struct Like {
pub kind: LikeType,
pub like_props: LikeProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Indicates that the actor likes, recommends or endorses the object.
The target and origin typically have no defined meaning.
Fields
kind: LikeType
like_props: LikeProperties
Adds all valid like properties to this struct
object_props: ObjectProperties
Adds all valid object properties to this struct
activity_props: ActivityProperties
Adds all valid activity properties to this struct
Trait Implementations
impl Clone for Like[src]
impl Clone for Likefn clone(&self) -> Like[src]
fn clone(&self) -> LikeReturns 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 Likefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Like[src]
impl Default for Likeimpl Object for Like[src]
impl Object for Likeimpl ObjectExt for Like[src]
impl ObjectExt for Likefn props(&self) -> &ObjectProperties[src]
fn props(&self) -> &ObjectPropertiesfn props_mut(&mut self) -> &mut ObjectProperties[src]
fn props_mut(&mut self) -> &mut ObjectPropertiesimpl Activity for Like[src]
impl Activity for Likeimpl ActivityExt for Like[src]
impl ActivityExt for Likefn props(&self) -> &ActivityProperties[src]
fn props(&self) -> &ActivityPropertiesfn props_mut(&mut self) -> &mut ActivityProperties[src]
fn props_mut(&mut self) -> &mut ActivityProperties