Struct gapi_grpc::grafeas::v1::DiscoveryNote[][src]

pub struct DiscoveryNote {
    pub analysis_kind: i32,
}

A note that indicates a type of analysis a provider would perform. This note exists in a provider’s project. A Discovery occurrence is created in a consumer’s project at the start of analysis.

Fields

analysis_kind: i32

Required. Immutable. The kind of analysis that is handled by this discovery.

Implementations

impl DiscoveryNote[src]

pub fn analysis_kind(&self) -> NoteKind[src]

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

pub fn set_analysis_kind(&mut self, value: NoteKind)[src]

Sets analysis_kind to the provided enum value.

Trait Implementations

impl Clone for DiscoveryNote[src]

impl Debug for DiscoveryNote[src]

impl Default for DiscoveryNote[src]

impl Message for DiscoveryNote[src]

impl PartialEq<DiscoveryNote> for DiscoveryNote[src]

impl StructuralPartialEq for DiscoveryNote[src]

Auto Trait Implementations

impl RefUnwindSafe for DiscoveryNote

impl Send for DiscoveryNote

impl Sync for DiscoveryNote

impl Unpin for DiscoveryNote

impl UnwindSafe for DiscoveryNote

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]