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

pub struct CheckedExpr {
    pub reference_map: HashMap<i64, Reference>,
    pub type_map: HashMap<i64, Type>,
    pub source_info: Option<SourceInfo>,
    pub expr: Option<Expr>,
}
[]

A CEL expression which has been successfully type checked.

Fields

reference_map: HashMap<i64, Reference>
[]

A map from expression ids to resolved references.

The following entries are in this table:

type_map: HashMap<i64, Type>
[]

A map from expression ids to types.

Every expression node which has a type different than DYN has a mapping here. If an expression has type DYN, it is omitted from this map to save space.

source_info: Option<SourceInfo>
[]

The source info derived from input that generated the parsed expr and any optimizations made during the type-checking pass.

expr: Option<Expr>
[]

The checked expression. Semantically equivalent to the parsed expr, but may have structural differences.

Trait Implementations

impl Clone for CheckedExpr[src][+]

impl Debug for CheckedExpr[src][+]

impl Default for CheckedExpr[src][+]

impl Message for CheckedExpr[src][+]

impl PartialEq<CheckedExpr> for CheckedExpr[src][+]

impl StructuralPartialEq for CheckedExpr[src]

Auto Trait Implementations

impl RefUnwindSafe for CheckedExpr

impl Send for CheckedExpr

impl Sync for CheckedExpr

impl Unpin for CheckedExpr

impl UnwindSafe for CheckedExpr

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][+]