#[repr(C)]pub struct LIBMTP_devicestorage_struct {
pub id: u32,
pub StorageType: u16,
pub FilesystemType: u16,
pub AccessCapability: u16,
pub MaxCapacity: u64,
pub FreeSpaceInBytes: u64,
pub FreeSpaceInObjects: u64,
pub StorageDescription: *mut c_char,
pub VolumeIdentifier: *mut c_char,
pub next: *mut LIBMTP_devicestorage_t,
pub prev: *mut LIBMTP_devicestorage_t,
}Expand description
LIBMTP Device Storage structure
Fields§
§id: u32< Unique ID for this storage
StorageType: u16< Storage type
FilesystemType: u16< Filesystem type
AccessCapability: u16< Access capability
MaxCapacity: u64< Maximum capability
FreeSpaceInBytes: u64< Free space in bytes
FreeSpaceInObjects: u64< Free space in objects
StorageDescription: *mut c_char< A brief description of this storage
VolumeIdentifier: *mut c_char< A volume identifier
next: *mut LIBMTP_devicestorage_t< Next storage, follow this link until NULL
prev: *mut LIBMTP_devicestorage_t< Previous storage
Auto Trait Implementations§
impl Freeze for LIBMTP_devicestorage_struct
impl RefUnwindSafe for LIBMTP_devicestorage_struct
impl !Send for LIBMTP_devicestorage_struct
impl !Sync for LIBMTP_devicestorage_struct
impl Unpin for LIBMTP_devicestorage_struct
impl UnwindSafe for LIBMTP_devicestorage_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