Struct gapi_grpc::google::api::expr::v1alpha1::decl::IdentDecl[][src]

pub struct IdentDecl {
    pub type: Option<Type>,
    pub value: Option<Constant>,
    pub doc: String,
}

Identifier declaration which specifies its type and optional Expr value.

An identifier without a value is a declaration that must be provided at evaluation time. An identifier with a value should resolve to a constant, but may be used in conjunction with other identifiers bound at evaluation time.

Fields

type: Option<Type>

Required. The type of the identifier.

value: Option<Constant>

The constant value of the identifier. If not specified, the identifier must be supplied at evaluation time.

doc: String

Documentation string for the identifier.

Trait Implementations

impl Clone for IdentDecl[src]

impl Debug for IdentDecl[src]

impl Default for IdentDecl[src]

impl Message for IdentDecl[src]

impl PartialEq<IdentDecl> for IdentDecl[src]

impl StructuralPartialEq for IdentDecl[src]

Auto Trait Implementations

impl RefUnwindSafe for IdentDecl

impl Send for IdentDecl

impl Sync for IdentDecl

impl Unpin for IdentDecl

impl UnwindSafe for IdentDecl

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]