Struct oc2_hlapi::types::ImportFileInfo
source · pub struct ImportFileInfo {
pub name: Box<str>,
pub size: u64,
}Expand description
Information associated with an imported file, containing the file’s name and size in bytes.
Fields§
§name: Box<str>The file’s name.
size: u64The file’s size in bytes.
Trait Implementations§
source§impl Clone for ImportFileInfo
impl Clone for ImportFileInfo
source§fn clone(&self) -> ImportFileInfo
fn clone(&self) -> ImportFileInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ImportFileInfo
impl Debug for ImportFileInfo
source§impl<'de> Deserialize<'de> for ImportFileInfo
impl<'de> Deserialize<'de> for ImportFileInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ImportFileInfo
impl Hash for ImportFileInfo
source§impl Ord for ImportFileInfo
impl Ord for ImportFileInfo
source§fn cmp(&self, other: &ImportFileInfo) -> Ordering
fn cmp(&self, other: &ImportFileInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ImportFileInfo
impl PartialEq for ImportFileInfo
source§fn eq(&self, other: &ImportFileInfo) -> bool
fn eq(&self, other: &ImportFileInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ImportFileInfo
impl PartialOrd for ImportFileInfo
source§fn partial_cmp(&self, other: &ImportFileInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &ImportFileInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for ImportFileInfo
impl Serialize for ImportFileInfo
impl Eq for ImportFileInfo
impl StructuralPartialEq for ImportFileInfo
Auto Trait Implementations§
impl Freeze for ImportFileInfo
impl RefUnwindSafe for ImportFileInfo
impl Send for ImportFileInfo
impl Sync for ImportFileInfo
impl Unpin for ImportFileInfo
impl UnwindSafe for ImportFileInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)