pub struct Attestor {
pub description: Option<String>,
pub etag: Option<String>,
pub name: Option<String>,
pub update_time: Option<DateTime<Utc>>,
pub user_owned_grafeas_note: Option<UserOwnedGrafeasNote>,
}
Expand description
An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- attestors create projects (request|response)
- attestors get projects (response)
- attestors update projects (request|response)
Fields§
§description: Option<String>
Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
etag: Option<String>
Optional. A checksum, returned by the server, that can be sent on update requests to ensure the attestor has an up-to-date value before attempting to update it. See https://google.aip.dev/154.
name: Option<String>
Required. The resource name, in the format: projects/*/attestors/*
. This field may not be updated.
update_time: Option<DateTime<Utc>>
Output only. Time when the attestor was last updated.
user_owned_grafeas_note: Option<UserOwnedGrafeasNote>
This specifies how an attestation will be read, and how it will be used during policy enforcement.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attestor
impl<'de> Deserialize<'de> for Attestor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for Attestor
impl ResponseResult for Attestor
Auto Trait Implementations§
impl Freeze for Attestor
impl RefUnwindSafe for Attestor
impl Send for Attestor
impl Sync for Attestor
impl Unpin for Attestor
impl UnwindSafe for Attestor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more