Struct google_remotebuildexecution2::api::BuildBazelRemoteExecutionV2ExecutionPolicy[][src]

pub struct BuildBazelRemoteExecutionV2ExecutionPolicy {
    pub priority: Option<i32>,
}

An ExecutionPolicy can be used to control the scheduling of the action.

This type is not used in any activity, and only used as part of another schema.

Fields

priority: Option<i32>

The priority (relative importance) of this action. Generally, a lower value means that the action should be run sooner than actions having a greater priority value, but the interpretation of a given value is server- dependent. A priority of 0 means the default priority. Priorities may be positive or negative, and such actions should run later or sooner than actions having the default priority, respectively. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into scheduling policy.

Trait Implementations

impl Clone for BuildBazelRemoteExecutionV2ExecutionPolicy[src]

impl Debug for BuildBazelRemoteExecutionV2ExecutionPolicy[src]

impl Default for BuildBazelRemoteExecutionV2ExecutionPolicy[src]

impl<'de> Deserialize<'de> for BuildBazelRemoteExecutionV2ExecutionPolicy[src]

impl Part for BuildBazelRemoteExecutionV2ExecutionPolicy[src]

impl Serialize for BuildBazelRemoteExecutionV2ExecutionPolicy[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.