pub struct UpstreamRemote {
pub remote: RemoteName,
pub url: String,
}Fields§
§remote: RemoteName§url: StringTrait Implementations§
Source§impl Clone for UpstreamRemote
impl Clone for UpstreamRemote
Source§fn clone(&self) -> UpstreamRemote
fn clone(&self) -> UpstreamRemote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpstreamRemote
impl Debug for UpstreamRemote
impl Eq for UpstreamRemote
Source§impl PartialEq for UpstreamRemote
impl PartialEq for UpstreamRemote
Source§fn eq(&self, other: &UpstreamRemote) -> bool
fn eq(&self, other: &UpstreamRemote) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpstreamRemote
Auto Trait Implementations§
impl Freeze for UpstreamRemote
impl RefUnwindSafe for UpstreamRemote
impl Send for UpstreamRemote
impl Sync for UpstreamRemote
impl Unpin for UpstreamRemote
impl UnsafeUnpin for UpstreamRemote
impl UnwindSafe for UpstreamRemote
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