pub struct AddLabelParams {
pub project_name: String,
pub repository_name: String,
pub reference: String,
pub label: Label,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method add_label
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
reference: StringThe reference of the artifact, can be digest or tag
label: LabelThe label that added to the artifact. Only the ID property is needed.
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for AddLabelParams
impl Clone for AddLabelParams
Source§fn clone(&self) -> AddLabelParams
fn clone(&self) -> AddLabelParams
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 moreAuto Trait Implementations§
impl Freeze for AddLabelParams
impl RefUnwindSafe for AddLabelParams
impl Send for AddLabelParams
impl Sync for AddLabelParams
impl Unpin for AddLabelParams
impl UnwindSafe for AddLabelParams
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