pub struct Repository {
pub url: Url,
pub reference: Option<String>,
pub package: String,
}Expand description
A descriptor of a remote repository.
Fields§
§url: UrlThe url of the repository.
reference: Option<String>If applicable, the branch or tag to be used.
package: StringThe name of a package within the repository. Defaults to the repository name.
Implementations§
Trait Implementations§
source§impl Debug for Repository
impl Debug for Repository
source§impl PartialEq for Repository
impl PartialEq for Repository
impl StructuralPartialEq for Repository
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
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