Struct activitystreams_types::collection::properties::CollectionPageProperties[][src]

pub struct CollectionPageProperties {
    pub part_of: Option<Value>,
    pub next: Option<Value>,
    pub prev: Option<Value>,
}

The CollectionPage type extends from the base Collection type and inherits all of it's properties.

Fields

Identifies the Collection to which a CollectionPage objects items belong.

Range: Collection | Link Functional: true

In a paged Collection, indicates the next page of items.

  • Range: CollectionPage | Link
  • Functional: true

In a paged Collection, identifies the previous page of items.

  • Range: CollectionPage | Link
  • Functional: true

Methods

impl CollectionPageProperties
[src]

Retrieve a value of type T from the given struct

This method deserializes the item from JSON, so be wary of using this a lot.

Possible errors from this method are Error::NotFound and Error::Deserialize

Set a value of type T in the given struct

This method serializes the item to JSON, so be wary of using this a lot.

Possible errors from this method are Error::Serialize

Retrieve a value of type T from the given struct

This method deserializes the item from JSON, so be wary of using this a lot.

Possible errors from this method are Error::NotFound and Error::Deserialize

Set a value of type T in the given struct

This method serializes the item to JSON, so be wary of using this a lot.

Possible errors from this method are Error::Serialize

Retrieve a value of type T from the given struct

This method deserializes the item from JSON, so be wary of using this a lot.

Possible errors from this method are Error::NotFound and Error::Deserialize

Set a value of type T in the given struct

This method serializes the item to JSON, so be wary of using this a lot.

Possible errors from this method are Error::Serialize

Retrieve a value of type T from the given struct

This method deserializes the item from JSON, so be wary of using this a lot.

Possible errors from this method are Error::NotFound and Error::Deserialize

Set a value of type T in the given struct

This method serializes the item to JSON, so be wary of using this a lot.

Possible errors from this method are Error::Serialize

Retrieve a value of type T from the given struct

This method deserializes the item from JSON, so be wary of using this a lot.

Possible errors from this method are Error::NotFound and Error::Deserialize

Set a value of type T in the given struct

This method serializes the item to JSON, so be wary of using this a lot.

Possible errors from this method are Error::Serialize

Retrieve a value of type T from the given struct

This method deserializes the item from JSON, so be wary of using this a lot.

Possible errors from this method are Error::NotFound and Error::Deserialize

Set a value of type T in the given struct

This method serializes the item to JSON, so be wary of using this a lot.

Possible errors from this method are Error::Serialize

Trait Implementations

impl Clone for CollectionPageProperties
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CollectionPageProperties
[src]

Formats the value using the given formatter. Read more

impl Default for CollectionPageProperties
[src]

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

Auto Trait Implementations