#[non_exhaustive]pub struct DeleteArtifactRequest {
pub name: String,
pub etag: String,
/* private fields */
}Available on crate feature
metadata-service only.Expand description
Request message for MetadataService.DeleteArtifact.
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.name: StringRequired. The resource name of the Artifact to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
etag: StringOptional. The etag of the Artifact to delete. If this is provided, it must match the server’s etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteArtifactRequest
impl Clone for DeleteArtifactRequest
Source§fn clone(&self) -> DeleteArtifactRequest
fn clone(&self) -> DeleteArtifactRequest
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 DeleteArtifactRequest
impl Debug for DeleteArtifactRequest
Source§impl Default for DeleteArtifactRequest
impl Default for DeleteArtifactRequest
Source§fn default() -> DeleteArtifactRequest
fn default() -> DeleteArtifactRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteArtifactRequest
impl Message for DeleteArtifactRequest
Source§impl PartialEq for DeleteArtifactRequest
impl PartialEq for DeleteArtifactRequest
impl StructuralPartialEq for DeleteArtifactRequest
Auto Trait Implementations§
impl Freeze for DeleteArtifactRequest
impl RefUnwindSafe for DeleteArtifactRequest
impl Send for DeleteArtifactRequest
impl Sync for DeleteArtifactRequest
impl Unpin for DeleteArtifactRequest
impl UnwindSafe for DeleteArtifactRequest
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