pub struct UpdateRepositoryParams {
pub project_name: String,
pub repository_name: String,
pub repository: Repository,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method update_repository
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
repository: RepositoryThe JSON object of repository.
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for UpdateRepositoryParams
impl Clone for UpdateRepositoryParams
Source§fn clone(&self) -> UpdateRepositoryParams
fn clone(&self) -> UpdateRepositoryParams
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 UpdateRepositoryParams
impl RefUnwindSafe for UpdateRepositoryParams
impl Send for UpdateRepositoryParams
impl Sync for UpdateRepositoryParams
impl Unpin for UpdateRepositoryParams
impl UnwindSafe for UpdateRepositoryParams
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