pub struct Source {
pub label: String,
pub url: String,
pub rev: Option<String>,
}Expand description
Where a pack came from, and which revision of it.
Fields§
§label: StringHow the user spelled it, minus the revision — what goes in the marker.
url: StringWhat git is handed.
rev: Option<String>None means the remote’s default branch.
Trait Implementations§
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Forget for Source
impl Freeze for Source
impl Move for Source
impl RefUnwindSafe for Source
impl Send for Sourcewhere
RawVecInner: Send,
impl Sync for Sourcewhere
RawVecInner: Sync,
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Sourcewhere
RawVecInner: UnwindSafe,
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