#[non_exhaustive]pub struct GetArtifactRequest {
pub name: String,
/* private fields */
}Available on crate feature
metadata-service only.Expand description
Request message for MetadataService.GetArtifact.
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 retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
Implementations§
Trait Implementations§
Source§impl Clone for GetArtifactRequest
impl Clone for GetArtifactRequest
Source§fn clone(&self) -> GetArtifactRequest
fn clone(&self) -> GetArtifactRequest
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 GetArtifactRequest
impl Debug for GetArtifactRequest
Source§impl Default for GetArtifactRequest
impl Default for GetArtifactRequest
Source§fn default() -> GetArtifactRequest
fn default() -> GetArtifactRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetArtifactRequest
impl Message for GetArtifactRequest
Source§impl PartialEq for GetArtifactRequest
impl PartialEq for GetArtifactRequest
impl StructuralPartialEq for GetArtifactRequest
Auto Trait Implementations§
impl Freeze for GetArtifactRequest
impl RefUnwindSafe for GetArtifactRequest
impl Send for GetArtifactRequest
impl Sync for GetArtifactRequest
impl Unpin for GetArtifactRequest
impl UnwindSafe for GetArtifactRequest
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