Struct google_servicebroker1::api::GoogleType__Expr
source · [−]pub struct GoogleType__Expr {
pub description: Option<String>,
pub expression: Option<String>,
pub location: Option<String>,
pub title: Option<String>,
}
Expand description
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
description: Option<String>
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
expression: Option<String>
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.
location: Option<String>
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
title: Option<String>
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
sourceimpl Clone for GoogleType__Expr
impl Clone for GoogleType__Expr
sourcefn clone(&self) -> GoogleType__Expr
fn clone(&self) -> GoogleType__Expr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GoogleType__Expr
impl Debug for GoogleType__Expr
sourceimpl Default for GoogleType__Expr
impl Default for GoogleType__Expr
sourcefn default() -> GoogleType__Expr
fn default() -> GoogleType__Expr
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GoogleType__Expr
impl<'de> Deserialize<'de> for GoogleType__Expr
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for GoogleType__Expr
impl Serialize for GoogleType__Expr
impl Part for GoogleType__Expr
Auto Trait Implementations
impl RefUnwindSafe for GoogleType__Expr
impl Send for GoogleType__Expr
impl Sync for GoogleType__Expr
impl Unpin for GoogleType__Expr
impl UnwindSafe for GoogleType__Expr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more