pub struct AllocFileInfo {
pub name: Option<String>,
pub is_dir: Option<bool>,
pub size: Option<i64>,
pub file_mode: Option<String>,
pub mod_time: Option<String>,
pub content_type: Option<String>,
}
Fields§
§name: Option<String>
§is_dir: Option<bool>
§size: Option<i64>
§file_mode: Option<String>
§mod_time: Option<String>
§content_type: Option<String>
Implementations§
Source§impl AllocFileInfo
impl AllocFileInfo
pub fn new() -> AllocFileInfo
Trait Implementations§
Source§impl Clone for AllocFileInfo
impl Clone for AllocFileInfo
Source§fn clone(&self) -> AllocFileInfo
fn clone(&self) -> AllocFileInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AllocFileInfo
impl Debug for AllocFileInfo
Source§impl<'de> Deserialize<'de> for AllocFileInfo
impl<'de> Deserialize<'de> for AllocFileInfo
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 PartialEq for AllocFileInfo
impl PartialEq for AllocFileInfo
Source§impl Serialize for AllocFileInfo
impl Serialize for AllocFileInfo
impl StructuralPartialEq for AllocFileInfo
Auto Trait Implementations§
impl Freeze for AllocFileInfo
impl RefUnwindSafe for AllocFileInfo
impl Send for AllocFileInfo
impl Sync for AllocFileInfo
impl Unpin for AllocFileInfo
impl UnwindSafe for AllocFileInfo
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