CreateProperties

Type Alias CreateProperties 

Source
pub type CreateProperties = ActorAndObject;
Expand description

Properties for the Create activity

Aliased Type§

pub struct CreateProperties {
    pub actor: Value,
    pub object: Value,
}

Fields§

§actor: Value

Describes 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: Value

When 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