Struct gapi_grpc::google::devtools::source::v1::AliasContext[][src]

pub struct AliasContext {
    pub kind: i32,
    pub name: String,
}

An alias to a repo revision.

Fields

kind: i32

The alias kind.

name: String

The alias name.

Implementations

impl AliasContext[src]

pub fn kind(&self) -> Kind[src]

Returns the enum value of kind, or the default if the field is set to an invalid enum value.

pub fn set_kind(&mut self, value: Kind)[src]

Sets kind to the provided enum value.

Trait Implementations

impl Clone for AliasContext[src]

impl Debug for AliasContext[src]

impl Default for AliasContext[src]

impl Message for AliasContext[src]

impl PartialEq<AliasContext> for AliasContext[src]

impl StructuralPartialEq for AliasContext[src]

Auto Trait Implementations

impl RefUnwindSafe for AliasContext

impl Send for AliasContext

impl Sync for AliasContext

impl Unpin for AliasContext

impl UnwindSafe for AliasContext

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]