pub struct RemoteName(/* private fields */);Expand description
A named git remote (e.g., origin, upstream).
Implementations§
Source§impl RemoteName
impl RemoteName
Trait Implementations§
Source§impl AsRef<OsStr> for RemoteName
impl AsRef<OsStr> for RemoteName
Source§impl Clone for RemoteName
impl Clone for RemoteName
Source§fn clone(&self) -> RemoteName
fn clone(&self) -> RemoteName
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 RemoteName
impl Debug for RemoteName
Source§impl Display for RemoteName
impl Display for RemoteName
Source§impl From<RemoteName> for Remote
impl From<RemoteName> for Remote
Source§fn from(name: RemoteName) -> Self
fn from(name: RemoteName) -> Self
Converts to this type from the input type.
Source§impl FromStr for RemoteName
impl FromStr for RemoteName
Source§impl PartialEq for RemoteName
impl PartialEq for RemoteName
impl Eq for RemoteName
impl StructuralPartialEq for RemoteName
Auto Trait Implementations§
impl Freeze for RemoteName
impl RefUnwindSafe for RemoteName
impl Send for RemoteName
impl Sync for RemoteName
impl Unpin for RemoteName
impl UnwindSafe for RemoteName
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