Struct gapi_grpc::google::cloud::osconfig::v1alpha::OsPolicyResourceCompliance[][src]

pub struct OsPolicyResourceCompliance {
    pub os_policy_resource_id: String,
    pub config_steps: Vec<OsPolicyResourceConfigStep>,
    pub state: i32,
    pub output: Option<Output>,
}

Compliance data for an OS policy resource.

Fields

os_policy_resource_id: String

The id of the OS policy resource.

config_steps: Vec<OsPolicyResourceConfigStep>

Ordered list of configuration steps taken by the agent for the OS policy resource.

state: i32

Compliance state of the OS policy resource.

output: Option<Output>

Resource specific output.

Implementations

impl OsPolicyResourceCompliance[src]

pub fn state(&self) -> OsPolicyComplianceState[src]

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

pub fn set_state(&mut self, value: OsPolicyComplianceState)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for OsPolicyResourceCompliance[src]

impl Debug for OsPolicyResourceCompliance[src]

impl Default for OsPolicyResourceCompliance[src]

impl Message for OsPolicyResourceCompliance[src]

impl PartialEq<OsPolicyResourceCompliance> for OsPolicyResourceCompliance[src]

impl StructuralPartialEq for OsPolicyResourceCompliance[src]

Auto Trait Implementations

impl RefUnwindSafe for OsPolicyResourceCompliance

impl Send for OsPolicyResourceCompliance

impl Sync for OsPolicyResourceCompliance

impl Unpin for OsPolicyResourceCompliance

impl UnwindSafe for OsPolicyResourceCompliance

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]