pub struct Source {
pub provider: Provider,
pub host: String,
pub owner: String,
pub repo: Option<String>,
}Expand description
Where the repositories live: a provider, its host and the owner or group path.
Fields§
§provider: Provider§host: String§owner: StringOrganisation or user on GitHub; group or project path (team/platform) on GitLab.
repo: Option<String>The repository, when the URL names one (github.com/acme/orders, ….git, git@…).
Trait Implementations§
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Forget for Source
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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