Struct gapi_grpc::google::chromeos::moblab::v1beta1::Build[][src]

pub struct Build {
    pub name: String,
    pub milestone: String,
    pub build_version: String,
    pub status: i32,
    pub type: i32,
    pub branch: String,
}

Resource that represents a build for the given build target, model, milestone and build version.

Fields

name: String

The resource name of the build. Format: buildTargets/{build_target}/models/{model}/builds/{build} Example: buildTargets/octopus/models/bobba/builds/1234.0.0

milestone: String

The milestone that owns the build. Format: milestones/{milestone}

build_version: String

The build version of the build, e.g. 1234.0.0.

status: i32

The status of the build.

type: i32

The type of the build.

branch: String

The branch of the build.

Implementations

impl Build[src]

pub fn status(&self) -> BuildStatus[src]

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

pub fn set_status(&mut self, value: BuildStatus)[src]

Sets status to the provided enum value.

pub fn type(&self) -> BuildType[src]

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

pub fn set_type(&mut self, value: BuildType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for Build[src]

impl Debug for Build[src]

impl Default for Build[src]

impl Message for Build[src]

impl PartialEq<Build> for Build[src]

impl StructuralPartialEq for Build[src]

Auto Trait Implementations

impl RefUnwindSafe for Build

impl Send for Build

impl Sync for Build

impl Unpin for Build

impl UnwindSafe for Build

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]