pub struct PathTranslation {
pub path: String,
pub original: String,
pub from_os: Os,
pub to_os: Os,
pub drive_translated: bool,
pub warnings: Vec<String>,
}Expand description
Result of a path translation
Fields§
§path: StringThe translated path
original: StringOriginal path
from_os: OsSource OS
to_os: OsTarget OS
drive_translated: boolWhether drive letter was translated
warnings: Vec<String>Warnings about the translation
Implementations§
Trait Implementations§
Source§impl Clone for PathTranslation
impl Clone for PathTranslation
Source§fn clone(&self) -> PathTranslation
fn clone(&self) -> PathTranslation
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 PathTranslation
impl Debug for PathTranslation
Source§impl<'de> Deserialize<'de> for PathTranslation
impl<'de> Deserialize<'de> for PathTranslation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PathTranslation
impl Display for PathTranslation
Auto Trait Implementations§
impl Freeze for PathTranslation
impl RefUnwindSafe for PathTranslation
impl Send for PathTranslation
impl Sync for PathTranslation
impl Unpin for PathTranslation
impl UnwindSafe for PathTranslation
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