pub struct RemoteFile { /* private fields */ }Expand description
A validated ssh://[user@]host[:port]/absolute/path location.
Private fields leave RemoteFile::parse as the only constructor, so
every value — including deserialized ones — passed the same admission.
Implementations§
Trait Implementations§
Source§impl Clone for RemoteFile
impl Clone for RemoteFile
Source§fn clone(&self) -> RemoteFile
fn clone(&self) -> RemoteFile
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 RemoteFile
impl Debug for RemoteFile
Source§impl<'de> Deserialize<'de> for RemoteFile
impl<'de> Deserialize<'de> for RemoteFile
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RemoteFile
impl Display for RemoteFile
impl Eq for RemoteFile
Source§impl Hash for RemoteFile
impl Hash for RemoteFile
Source§impl PartialEq for RemoteFile
impl PartialEq for RemoteFile
Source§impl Serialize for RemoteFile
Serde carries the canonical validated URI — one string, re-parsed on
the way in, so stored values can never bypass admission.
impl Serialize for RemoteFile
Serde carries the canonical validated URI — one string, re-parsed on the way in, so stored values can never bypass admission.
Auto Trait Implementations§
impl Freeze for RemoteFile
impl RefUnwindSafe for RemoteFile
impl Send for RemoteFile
impl Sync for RemoteFile
impl Unpin for RemoteFile
impl UnsafeUnpin for RemoteFile
impl UnwindSafe for RemoteFile
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