Struct gapi_grpc::google::devtools::resultstore::v2::TargetAttributes[][src]

pub struct TargetAttributes {
    pub type: i32,
    pub language: i32,
    pub tags: Vec<String>,
}

Attributes that apply to all targets.

Fields

type: i32

If known, indicates the type of this target. In bazel this corresponds to the rule-suffix.

language: i32

If known, the main language of this target, e.g. java, cc, python, etc.

tags: Vec<String>

The tags attribute of the build rule. These should be short, descriptive words, and there should only be a few of them. This is implemented as a set. All tags will be unique. Any duplicate tags will be ignored. Tags will be returned in lexicographical order.

Implementations

impl TargetAttributes[src]

pub fn type(&self) -> TargetType[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: TargetType)[src]

Sets type to the provided enum value.

pub fn language(&self) -> Language[src]

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

pub fn set_language(&mut self, value: Language)[src]

Sets language to the provided enum value.

Trait Implementations

impl Clone for TargetAttributes[src]

impl Debug for TargetAttributes[src]

impl Default for TargetAttributes[src]

impl Message for TargetAttributes[src]

impl PartialEq<TargetAttributes> for TargetAttributes[src]

impl StructuralPartialEq for TargetAttributes[src]

Auto Trait Implementations

impl RefUnwindSafe for TargetAttributes

impl Send for TargetAttributes

impl Sync for TargetAttributes

impl Unpin for TargetAttributes

impl UnwindSafe for TargetAttributes

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]