Struct activitystreams::activity::Offer [] [src]

pub struct Offer {
    pub kind: OfferType,
    pub offer_props: ActorAndObjectOptTarget,
    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

Adds all valid object properties to this struct

Adds all valid object properties to this struct

Adds all valid activity properties to this struct

Trait Implementations

impl Object for Offer
[src]

impl<'de> Deserialize<'de> for Offer
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Offer
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Activity for Offer
[src]

impl Clone for Offer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Offer
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Offer
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Offer

impl Sync for Offer