Struct win_sys::FileSystem::SHARE_INFO_2
source · [−]#[repr(C)]pub struct SHARE_INFO_2 {
pub shi2_netname: PWSTR,
pub shi2_type: SHARE_TYPE,
pub shi2_remark: PWSTR,
pub shi2_permissions: SHARE_INFO_PERMISSIONS,
pub shi2_max_uses: u32,
pub shi2_current_uses: u32,
pub shi2_path: PWSTR,
pub shi2_passwd: PWSTR,
}Expand description
Required features: ‘Win32_Storage_FileSystem’
Fields
shi2_netname: PWSTRshi2_type: SHARE_TYPEshi2_remark: PWSTRshi2_permissions: SHARE_INFO_PERMISSIONSshi2_max_uses: u32shi2_current_uses: u32shi2_path: PWSTRshi2_passwd: PWSTRTrait Implementations
sourceimpl Clone for SHARE_INFO_2
impl Clone for SHARE_INFO_2
sourcepub fn clone(&self) -> SHARE_INFO_2
pub fn clone(&self) -> SHARE_INFO_2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SHARE_INFO_2
impl Debug for SHARE_INFO_2
sourceimpl Default for SHARE_INFO_2
impl Default for SHARE_INFO_2
sourcepub fn default() -> SHARE_INFO_2
pub fn default() -> SHARE_INFO_2
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SHARE_INFO_2> for SHARE_INFO_2
impl PartialEq<SHARE_INFO_2> for SHARE_INFO_2
impl Copy for SHARE_INFO_2
impl Eq for SHARE_INFO_2
Auto Trait Implementations
impl RefUnwindSafe for SHARE_INFO_2
impl !Send for SHARE_INFO_2
impl !Sync for SHARE_INFO_2
impl Unpin for SHARE_INFO_2
impl UnwindSafe for SHARE_INFO_2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more