pub enum DefaultRepresentation {
Shortcut,
Git,
Https,
Ssh,
Other,
}
Expand description
Enum of the original URL types (shortcut, https, ssh, …)
Variants§
Shortcut
Example: Turbo87/hosted-git-info-rs
Git
Example: git://github.com/Turbo87/hosted-git-info-rs
Https
Example: https://github.com/Turbo87/hosted-git-info-rs.git
Ssh
Example: git+ssh://git@github.com:Turbo87/hosted-git-info-rs.git
Other
anything else 🤷
Trait Implementations§
Source§impl Clone for DefaultRepresentation
impl Clone for DefaultRepresentation
Source§fn clone(&self) -> DefaultRepresentation
fn clone(&self) -> DefaultRepresentation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DefaultRepresentation
impl Debug for DefaultRepresentation
Source§impl PartialEq for DefaultRepresentation
impl PartialEq for DefaultRepresentation
impl Copy for DefaultRepresentation
impl Eq for DefaultRepresentation
impl StructuralPartialEq for DefaultRepresentation
Auto Trait Implementations§
impl Freeze for DefaultRepresentation
impl RefUnwindSafe for DefaultRepresentation
impl Send for DefaultRepresentation
impl Sync for DefaultRepresentation
impl Unpin for DefaultRepresentation
impl UnwindSafe for DefaultRepresentation
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