Struct gapi_grpc::google::devtools::remoteworkers::v1test2::AdminTemp[][src]

pub struct AdminTemp {
    pub command: i32,
    pub arg: String,
}

AdminTemp is a prelimiary set of administration tasks. It’s called “Temp” because we do not yet know the best way to represent admin tasks; it’s possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API.

This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be "admin" in these cases.

This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/luci-py/appengine/swarming).

Fields

command: i32

The admin action; see Command for legal values.

arg: String

The argument to the admin action; see Command for semantics.

Implementations

impl AdminTemp[src]

pub fn command(&self) -> Command[src]

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

pub fn set_command(&mut self, value: Command)[src]

Sets command to the provided enum value.

Trait Implementations

impl Clone for AdminTemp[src]

impl Debug for AdminTemp[src]

impl Default for AdminTemp[src]

impl Message for AdminTemp[src]

impl PartialEq<AdminTemp> for AdminTemp[src]

impl StructuralPartialEq for AdminTemp[src]

Auto Trait Implementations

impl RefUnwindSafe for AdminTemp

impl Send for AdminTemp

impl Sync for AdminTemp

impl Unpin for AdminTemp

impl UnwindSafe for AdminTemp

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]