Struct google_ml1::GoogleType__Expr [] [src]

pub struct GoogleType__Expr {
    pub description: Option<String>,
    pub expression: Option<String>,
    pub location: Option<String>,
    pub title: Option<String>,
}

Represents an expression text. Example:

title: "User account presence"
description: "Determines whether the request has a user account"
expression: "size(request.user) > 0"

This type is not used in any activity, and only used as part of another schema.

Fields

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

Textual representation of an expression in Common Expression Language syntax.

The application context of the containing message determines which well-known feature set of CEL is supported.

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

Trait Implementations

impl Default for GoogleType__Expr
[src]

[src]

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

impl Clone for GoogleType__Expr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleType__Expr
[src]

[src]

Formats the value using the given formatter.

impl Part for GoogleType__Expr
[src]