Struct gapi_grpc::grafeas::v1beta1::discovery::Discovered[][src]

pub struct Discovered {
    pub continuous_analysis: i32,
    pub last_analysis_time: Option<Timestamp>,
    pub analysis_status: i32,
    pub analysis_status_error: Option<Status>,
}

Provides information about the analysis status of a discovered resource.

Fields

continuous_analysis: i32

Whether the resource is continuously analyzed.

last_analysis_time: Option<Timestamp>

The last time continuous analysis was done for this resource.

analysis_status: i32

The status of discovery for the resource.

analysis_status_error: Option<Status>

When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.

Implementations

impl Discovered[src]

pub fn continuous_analysis(&self) -> ContinuousAnalysis[src]

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

pub fn set_continuous_analysis(&mut self, value: ContinuousAnalysis)[src]

Sets continuous_analysis to the provided enum value.

pub fn analysis_status(&self) -> AnalysisStatus[src]

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

pub fn set_analysis_status(&mut self, value: AnalysisStatus)[src]

Sets analysis_status to the provided enum value.

Trait Implementations

impl Clone for Discovered[src]

impl Debug for Discovered[src]

impl Default for Discovered[src]

impl Message for Discovered[src]

impl PartialEq<Discovered> for Discovered[src]

impl StructuralPartialEq for Discovered[src]

Auto Trait Implementations

impl RefUnwindSafe for Discovered

impl Send for Discovered

impl Sync for Discovered

impl Unpin for Discovered

impl UnwindSafe for Discovered

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]