Struct google_digitalassetlinks1::Statement[][src]

pub struct Statement {
    pub source: Option<Asset>,
    pub relation: Option<String>,
    pub target: Option<Asset>,
}

Describes a reliable statement that has been made about the relationship between a source asset and a target asset.

Statements are always made by the source asset, either directly or by delegating to a statement list that is stored elsewhere.

For more detailed definitions of statements and assets, please refer to our API documentation landing page.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Every statement has a source asset. REQUIRED

The relation identifies the use of the statement as intended by the source asset's owner (that is, the person or entity who issued the statement). Every complete statement has a relation.

We identify relations with strings of the format <kind>/<detail>, where <kind> must be one of a set of pre-defined purpose categories, and <detail> is a free-form lowercase alphanumeric string that describes the specific use case of the statement.

Refer to our API documentation for the current list of supported relations.

Example: delegate_permission/common.handle_all_urls REQUIRED

Every statement has a target asset. REQUIRED

Trait Implementations

impl Default for Statement
[src]

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

impl Clone for Statement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Statement
[src]

Formats the value using the given formatter. Read more

impl Resource for Statement
[src]

Auto Trait Implementations

impl Send for Statement

impl Sync for Statement