pub struct RemoteEntry {
pub url: String,
pub remote_type: String,
}Expand description
A named remote’s stored address. type is a dispatch hint derived
from the URL scheme at mkit remote add time.
Fields§
§url: String§remote_type: StringTrait Implementations§
Source§impl Clone for RemoteEntry
impl Clone for RemoteEntry
Source§fn clone(&self) -> RemoteEntry
fn clone(&self) -> RemoteEntry
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 RemoteEntry
impl Debug for RemoteEntry
Source§impl Default for RemoteEntry
impl Default for RemoteEntry
Source§fn default() -> RemoteEntry
fn default() -> RemoteEntry
Returns the “default value” for a type. Read more
impl Eq for RemoteEntry
Source§impl PartialEq for RemoteEntry
impl PartialEq for RemoteEntry
Source§fn eq(&self, other: &RemoteEntry) -> bool
fn eq(&self, other: &RemoteEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoteEntry
Auto Trait Implementations§
impl Freeze for RemoteEntry
impl RefUnwindSafe for RemoteEntry
impl Send for RemoteEntry
impl Sync for RemoteEntry
impl Unpin for RemoteEntry
impl UnsafeUnpin for RemoteEntry
impl UnwindSafe for RemoteEntry
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