pub struct IndexGithubRepoOptions<'a> {
pub base_url: &'a str,
pub repo_url: &'a str,
pub repo_ref: Option<&'a str>,
}Expand description
Inputs to index_github_repo. Borrowed so callers don’t have to clone.
Fields§
§base_url: &'a strBase URL of the hosted registry (no trailing slash required).
repo_url: &'a strThe repo URL to send to the cloud (canonical form preferred).
repo_ref: Option<&'a str>Optional branch/tag forwarded as ref in the request body.
Trait Implementations§
Source§impl<'a> Clone for IndexGithubRepoOptions<'a>
impl<'a> Clone for IndexGithubRepoOptions<'a>
Source§fn clone(&self) -> IndexGithubRepoOptions<'a>
fn clone(&self) -> IndexGithubRepoOptions<'a>
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<'a> Freeze for IndexGithubRepoOptions<'a>
impl<'a> RefUnwindSafe for IndexGithubRepoOptions<'a>
impl<'a> Send for IndexGithubRepoOptions<'a>
impl<'a> Sync for IndexGithubRepoOptions<'a>
impl<'a> Unpin for IndexGithubRepoOptions<'a>
impl<'a> UnsafeUnpin for IndexGithubRepoOptions<'a>
impl<'a> UnwindSafe for IndexGithubRepoOptions<'a>
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