pub type OfferProperties = ActorAndObjectOptTarget;Expand description
Properties for the Offer activity
Aliased Type§
pub struct OfferProperties {
pub actor: Value,
pub object: Value,
pub target: Option<Value>,
}Fields§
§actor: ValueDescribes one or more entities that either performed or are expected to perform the activity.
Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.
- Range:
Object|Link - Functional: false
object: ValueWhen used within an Activity, describes the direct object of the activity.
For instance, in the activity “John added a movie to his wishlist”, the object of the activity is the movie added.
- Range:
Object|Link - Functional: false
target: Option<Value>Describes the indirect object, or target, of the activity.
The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition “to”. For instance, in the activity “John added a movie to his wishlist”, the target of the activity is John’s wishlist. An activity can have more than one target
- Range:
Object|Link - Functional: false