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

pub struct Note {
    pub name: String,
    pub short_description: String,
    pub long_description: String,
    pub kind: i32,
    pub related_url: Vec<RelatedUrl>,
    pub expiration_time: Option<Timestamp>,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub related_note_names: Vec<String>,
    pub type: Option<Type>,
}

A type of analysis that can be done for a resource.

Fields

name: String

Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

short_description: String

A one sentence description of this note.

long_description: String

A detailed description of this note.

kind: i32

Output only. The type of analysis. This field can be used as a filter in list requests.

related_url: Vec<RelatedUrl>

URLs associated with this note.

expiration_time: Option<Timestamp>

Time of expiration for this note. Empty if note does not expire.

create_time: Option<Timestamp>

Output only. The time this note was created. This field can be used as a filter in list requests.

update_time: Option<Timestamp>

Output only. The time this note was last updated. This field can be used as a filter in list requests.

related_note_names: Vec<String>

Other notes related to this note.

type: Option<Type>

Required. Immutable. The type of analysis this note represents.

Implementations

impl Note[src]

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

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

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

Sets kind to the provided enum value.

Trait Implementations

impl Clone for Note[src]

impl Debug for Note[src]

impl Default for Note[src]

impl Message for Note[src]

impl PartialEq<Note> for Note[src]

impl StructuralPartialEq for Note[src]

Auto Trait Implementations

impl RefUnwindSafe for Note

impl Send for Note

impl Sync for Note

impl Unpin for Note

impl UnwindSafe for Note

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]