Struct gapi_grpc::google::api::expr::v1alpha1::Decl[][src]

pub struct Decl {
    pub name: String,
    pub decl_kind: Option<DeclKind>,
}

Represents a declaration of a named value or function.

A declaration is part of the contract between the expression, the agent evaluating that expression, and the caller requesting evaluation.

Fields

name: String

The fully qualified name of the declaration.

Declarations are organized in containers and this represents the full path to the declaration in its container, as in google.api.expr.Decl.

Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not have a name depending on whether the overload is function declaration or a function definition containing a result [Expr][google.api.expr.v1alpha1.Expr].

decl_kind: Option<DeclKind>

Required. The declaration kind.

Trait Implementations

impl Clone for Decl[src]

impl Debug for Decl[src]

impl Default for Decl[src]

impl Message for Decl[src]

impl PartialEq<Decl> for Decl[src]

impl StructuralPartialEq for Decl[src]

Auto Trait Implementations

impl RefUnwindSafe for Decl

impl Send for Decl

impl Sync for Decl

impl Unpin for Decl

impl UnwindSafe for Decl

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]