pub struct GenericGitRemote {
pub url: String,
pub reference: Option<String>,
}Expand description
Generic Git remote data. Debug output redacts recognized credentials.
Fields§
§url: StringClone URL, including scp syntax.
reference: Option<String>Optional opaque reference.
Trait Implementations§
Source§impl Clone for GenericGitRemote
impl Clone for GenericGitRemote
Source§impl Debug for GenericGitRemote
impl Debug for GenericGitRemote
impl Eq for GenericGitRemote
Source§impl Hash for GenericGitRemote
impl Hash for GenericGitRemote
Source§impl Ord for GenericGitRemote
impl Ord for GenericGitRemote
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GenericGitRemote
impl PartialEq for GenericGitRemote
Source§impl PartialOrd for GenericGitRemote
impl PartialOrd for GenericGitRemote
impl StructuralPartialEq for GenericGitRemote
Auto Trait Implementations§
impl Freeze for GenericGitRemote
impl RefUnwindSafe for GenericGitRemote
impl Send for GenericGitRemote
impl Sync for GenericGitRemote
impl Unpin for GenericGitRemote
impl UnsafeUnpin for GenericGitRemote
impl UnwindSafe for GenericGitRemote
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