pub struct CommonNetworkRelativeLink {
pub size: u32,
pub flags: Vec<CommonNetworkRelativeLinkFlags>,
pub net_name_offset: u32,
pub device_name_offset: u32,
pub network_provider_type: Option<NetworkProviderType>,
pub net_name_offset_unicode: Option<u32>,
pub device_name_offset_unicode: Option<u32>,
pub net_name: Option<String>,
pub device_name: Option<String>,
}
Expand description
The CommonNetworkRelativeLink structure specifies information about the network location where a link target is stored, including the mapped drive letter and the UNC path prefix.
Fields§
§size: u32
§flags: Vec<CommonNetworkRelativeLinkFlags>
§net_name_offset: u32
§device_name_offset: u32
§network_provider_type: Option<NetworkProviderType>
§net_name_offset_unicode: Option<u32>
§device_name_offset_unicode: Option<u32>
§net_name: Option<String>
§device_name: Option<String>
Implementations§
Source§impl CommonNetworkRelativeLink
impl CommonNetworkRelativeLink
pub fn get_size(&self) -> &u32
pub fn get_flags(&self) -> &Vec<CommonNetworkRelativeLinkFlags>
pub fn get_net_name_offset(&self) -> &u32
pub fn get_device_name_offset(&self) -> &u32
pub fn get_network_provider_type(&self) -> &Option<NetworkProviderType>
pub fn get_net_name_offset_unicode(&self) -> &Option<u32>
pub fn get_device_name_offset_unicode(&self) -> &Option<u32>
pub fn get_net_name(&self) -> &Option<String>
pub fn get_device_name(&self) -> &Option<String>
Source§impl CommonNetworkRelativeLink
impl CommonNetworkRelativeLink
pub fn from_buffer(buf: &[u8]) -> Result<Self>
pub fn from_reader<R: Read + Seek>(r: &mut R) -> Result<Self>
Trait Implementations§
Source§impl Debug for CommonNetworkRelativeLink
impl Debug for CommonNetworkRelativeLink
Auto Trait Implementations§
impl Freeze for CommonNetworkRelativeLink
impl RefUnwindSafe for CommonNetworkRelativeLink
impl Send for CommonNetworkRelativeLink
impl Sync for CommonNetworkRelativeLink
impl Unpin for CommonNetworkRelativeLink
impl UnwindSafe for CommonNetworkRelativeLink
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