ViewProperties

Type Alias ViewProperties 

Source
pub type ViewProperties = ActorAndObject;
Expand description

Properties for the View activity

Aliased Type§

pub struct ViewProperties {
    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