pub struct RemoteLocation {
pub host: OsString,
pub path: PathBuf,
}
Expand description
Represents a location on a remote host.
Fields§
§host: OsString
Host of the remote server
path: PathBuf
Path of the remote directory
Implementations§
Trait Implementations§
Source§impl Clone for RemoteLocation
impl Clone for RemoteLocation
Source§fn clone(&self) -> RemoteLocation
fn clone(&self) -> RemoteLocation
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 RemoteLocation
impl Debug for RemoteLocation
Source§impl Display for RemoteLocation
impl Display for RemoteLocation
Source§impl PartialEq for RemoteLocation
impl PartialEq for RemoteLocation
impl Eq for RemoteLocation
impl StructuralPartialEq for RemoteLocation
Auto Trait Implementations§
impl Freeze for RemoteLocation
impl RefUnwindSafe for RemoteLocation
impl Send for RemoteLocation
impl Sync for RemoteLocation
impl Unpin for RemoteLocation
impl UnwindSafe for RemoteLocation
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