#[repr(C)]pub struct libsmb_file_info {
pub size: c_ulong,
pub attrs: c_ushort,
pub uid: c_uint,
pub gid: c_uint,
pub btime_ts: timespec,
pub mtime_ts: timespec,
pub atime_ts: timespec,
pub ctime_ts: timespec,
pub name: *mut c_char,
pub short_name: *mut c_char,
}Expand description
Structure that represents all attributes of a directory entry. libsmb_file_info as implemented in libsmbclient.h
Fields§
§size: c_ulongSize of file
attrs: c_ushortDOS attributes of file
uid: c_uintUser ID of file
gid: c_uintGroup ID of file
btime_ts: timespecBirth/Create time of file (if supported by system) Otherwise the value will be 0
mtime_ts: timespecModified time for the file
atime_ts: timespecAccess time for the file
ctime_ts: timespecChange time for the file
name: *mut c_charName of file
short_name: *mut c_charShort name of file
Trait Implementations§
Source§impl Clone for libsmb_file_info
impl Clone for libsmb_file_info
Source§impl Default for libsmb_file_info
impl Default for libsmb_file_info
impl Copy for libsmb_file_info
Auto Trait Implementations§
impl Freeze for libsmb_file_info
impl RefUnwindSafe for libsmb_file_info
impl !Send for libsmb_file_info
impl !Sync for libsmb_file_info
impl Unpin for libsmb_file_info
impl UnwindSafe for libsmb_file_info
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