Struct activitystreams_types::activity::Offer [−][src]
pub struct Offer {
pub kind: OfferType,
pub offer_props: OfferProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Indicates that the actor is offering the object.
If specified, the target indicates the entity to which the object is being offered.
Fields
kind: OfferType
offer_props: OfferProperties
Adds all valid object 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 Offer[src]
impl Clone for Offerfn clone(&self) -> Offer[src]
fn clone(&self) -> OfferReturns 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 Offer[src]
impl Debug for Offerfn 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 Offer[src]
impl Default for Offerimpl Object for Offer[src]
impl Object for Offerimpl ObjectExt for Offer[src]
impl ObjectExt for Offerfn props(&self) -> &ObjectProperties[src]
fn props(&self) -> &ObjectPropertiesfn props_mut(&mut self) -> &mut ObjectProperties[src]
fn props_mut(&mut self) -> &mut ObjectPropertiesimpl Activity for Offer[src]
impl Activity for Offerimpl ActivityExt for Offer[src]
impl ActivityExt for Offerfn props(&self) -> &ActivityProperties[src]
fn props(&self) -> &ActivityPropertiesfn props_mut(&mut self) -> &mut ActivityProperties[src]
fn props_mut(&mut self) -> &mut ActivityProperties