Struct gapi_grpc::google::cloud::osconfig::v1::inventory::Item[][src]

pub struct Item {
    pub id: String,
    pub origin_type: i32,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub type: i32,
    pub details: Option<Details>,
}

A single piece of inventory on a VM.

Fields

id: String

Identifier for this item, unique across items for this VM.

origin_type: i32

The origin of this inventory item.

create_time: Option<Timestamp>

When this inventory item was first detected.

update_time: Option<Timestamp>

When this inventory item was last modified.

type: i32

The specific type of inventory, correlating to its specific details.

details: Option<Details>

Specific details of this inventory item based on its type.

Implementations

impl Item[src]

pub fn origin_type(&self) -> OriginType[src]

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

pub fn set_origin_type(&mut self, value: OriginType)[src]

Sets origin_type to the provided enum value.

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

Sets type to the provided enum value.

Trait Implementations

impl Clone for Item[src]

impl Debug for Item[src]

impl Default for Item[src]

impl Message for Item[src]

impl PartialEq<Item> for Item[src]

impl StructuralPartialEq for Item[src]

Auto Trait Implementations

impl RefUnwindSafe for Item

impl Send for Item

impl Sync for Item

impl Unpin for Item

impl UnwindSafe for Item

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]