#[non_exhaustive]pub struct SignedEntity {
pub container_image_signatures: Vec<ContainerImageSignature>,
/* private fields */
}Expand description
SignedEntity represents an OCI image object containing everything necessary to verify container image signatures.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.container_image_signatures: Vec<ContainerImageSignature>Optional. A list of container image signatures attached to an OCI image object.
Implementations§
Source§impl SignedEntity
impl SignedEntity
pub fn new() -> Self
Sourcepub fn set_container_image_signatures<T, V>(self, v: T) -> Self
pub fn set_container_image_signatures<T, V>(self, v: T) -> Self
Sets the value of container_image_signatures.
§Example
ⓘ
use google_cloud_confidentialcomputing_v1::model::ContainerImageSignature;
let x = SignedEntity::new()
.set_container_image_signatures([
ContainerImageSignature::default()/* use setters */,
ContainerImageSignature::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for SignedEntity
impl Clone for SignedEntity
Source§fn clone(&self) -> SignedEntity
fn clone(&self) -> SignedEntity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignedEntity
impl Debug for SignedEntity
Source§impl Default for SignedEntity
impl Default for SignedEntity
Source§fn default() -> SignedEntity
fn default() -> SignedEntity
Returns the “default value” for a type. Read more
Source§impl Message for SignedEntity
impl Message for SignedEntity
Source§impl PartialEq for SignedEntity
impl PartialEq for SignedEntity
impl StructuralPartialEq for SignedEntity
Auto Trait Implementations§
impl Freeze for SignedEntity
impl RefUnwindSafe for SignedEntity
impl Send for SignedEntity
impl Sync for SignedEntity
impl Unpin for SignedEntity
impl UnwindSafe for SignedEntity
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
Mutably borrows from an owned value. Read more