pub struct StringData {
pub name: Option<String>,
pub relative_path: Option<String>,
pub working_dir: Option<String>,
pub arguments: Option<String>,
pub icon_location: Option<String>,
}Expand description
The decoded StringData block ([MS-SHLLINK] §2.4).
Each field is present only when its corresponding LinkFlags bit is set; the
encoding follows IsUnicode (UTF-16LE) versus the ANSI code page.
Fields§
§name: Option<String>NAME_STRING — the link description (HasName).
relative_path: Option<String>RELATIVE_PATH (HasRelativePath).
working_dir: Option<String>WORKING_DIR (HasWorkingDir).
arguments: Option<String>COMMAND_LINE_ARGUMENTS (HasArguments).
icon_location: Option<String>ICON_LOCATION (HasIconLocation).
Trait Implementations§
Source§impl Clone for StringData
impl Clone for StringData
Source§fn clone(&self) -> StringData
fn clone(&self) -> StringData
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 StringData
impl Debug for StringData
Source§impl Default for StringData
impl Default for StringData
Source§fn default() -> StringData
fn default() -> StringData
Returns the “default value” for a type. Read more
impl Eq for StringData
Source§impl PartialEq for StringData
impl PartialEq for StringData
Source§fn eq(&self, other: &StringData) -> bool
fn eq(&self, other: &StringData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StringData
Auto Trait Implementations§
impl Freeze for StringData
impl RefUnwindSafe for StringData
impl Send for StringData
impl Sync for StringData
impl Unpin for StringData
impl UnsafeUnpin for StringData
impl UnwindSafe for StringData
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