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

pub struct Reference {
    pub name: String,
    pub overload_id: Vec<String>,
    pub value: Option<Constant>,
}

Describes a resolved reference to a declaration.

Fields

name: String

The fully qualified name of the declaration.

overload_id: Vec<String>

For references to functions, this is a list of Overload.overload_id values which match according to typing rules.

If the list has more than one element, overload resolution among the presented candidates must happen at runtime because of dynamic types. The type checker attempts to narrow down this list as much as possible.

Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].

value: Option<Constant>

For references to constants, this may contain the value of the constant if known at compile time.

Trait Implementations

impl Clone for Reference[src]

impl Debug for Reference[src]

impl Default for Reference[src]

impl Message for Reference[src]

impl PartialEq<Reference> for Reference[src]

impl StructuralPartialEq for Reference[src]

Auto Trait Implementations

impl RefUnwindSafe for Reference

impl Send for Reference

impl Sync for Reference

impl Unpin for Reference

impl UnwindSafe for Reference

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]