[][src]Struct libmtp_sys::bindings::LIBMTP_devicestorage_struct

#[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,
}

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.