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 duplicate 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§impl PartialOrd for ImportFileInfo
impl PartialOrd for ImportFileInfo
Source§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