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

pub struct Discovery {
    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 Discovery[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 Discovery[src][+]

impl Debug for Discovery[src][+]

impl Default for Discovery[src][+]

impl Message for Discovery[src][+]

impl PartialEq<Discovery> for Discovery[src][+]

impl StructuralPartialEq for Discovery[src]

Auto Trait Implementations

impl RefUnwindSafe for Discovery

impl Send for Discovery

impl Sync for Discovery

impl Unpin for Discovery

impl UnwindSafe for Discovery

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][+]