pub struct WebRemote {
pub base: String,
pub repo: String,
}Expand description
A remote whose web identity is fully known: permalink construction from here is pure.
Fields§
§base: StringScheme plus authority, "https://github.com". HTTP(S) remotes
keep their full authority — host and port survive, nested
groups included; SSH-derived bases drop user and SSH port (the
web port is not the SSH port).
repo: StringRepository path under the base with one trailing .git
stripped: "acme/demo" — nested paths survive whole.
Trait Implementations§
impl Eq for WebRemote
impl StructuralPartialEq for WebRemote
Auto Trait Implementations§
impl Freeze for WebRemote
impl RefUnwindSafe for WebRemote
impl Send for WebRemote
impl Sync for WebRemote
impl Unpin for WebRemote
impl UnsafeUnpin for WebRemote
impl UnwindSafe for WebRemote
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