pub struct CopyArtifactParams {
pub project_name: String,
pub repository_name: String,
pub from: String,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method copy_artifact
Fields§
§project_name: StringThe name of the project
repository_name: StringThe name of the repository. If it contains slash, encode it twice over with URL encoding. e.g. a/b -> a%2Fb -> a%252Fb
from: StringThe artifact from which the new artifact is copied from, the format should be "project/repository:tag" or "project/repository@digest".
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for CopyArtifactParams
impl Clone for CopyArtifactParams
Source§fn clone(&self) -> CopyArtifactParams
fn clone(&self) -> CopyArtifactParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CopyArtifactParams
impl RefUnwindSafe for CopyArtifactParams
impl Send for CopyArtifactParams
impl Sync for CopyArtifactParams
impl Unpin for CopyArtifactParams
impl UnsafeUnpin for CopyArtifactParams
impl UnwindSafe for CopyArtifactParams
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