#[repr(C)]pub struct LIBMTP_file_struct {
pub item_id: u32,
pub parent_id: u32,
pub storage_id: u32,
pub filename: *mut c_char,
pub filesize: u64,
pub modificationdate: time_t,
pub filetype: LIBMTP_filetype_t,
pub next: *mut LIBMTP_file_t,
}Expand description
MTP file struct
Fields§
§item_id: u32< Unique item ID
parent_id: u32< ID of parent folder
storage_id: u32< ID of storage holding this file
filename: *mut c_char< Filename of this file
filesize: u64< Size of file in bytes
modificationdate: time_t< Date of last alteration of the file
filetype: LIBMTP_filetype_t< Filetype used for the current file
next: *mut LIBMTP_file_t< Next file in list or NULL if last file
Auto Trait Implementations§
impl Freeze for LIBMTP_file_struct
impl RefUnwindSafe for LIBMTP_file_struct
impl !Send for LIBMTP_file_struct
impl !Sync for LIBMTP_file_struct
impl Unpin for LIBMTP_file_struct
impl UnwindSafe for LIBMTP_file_struct
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