[−][src]Struct rfsapi::RawFileData
Information about a file available through RFSAPI.
Fields
mime_type: Mime
File's determined MIME type.
Always valid, but possibly garbage for directories.
Recommended value for directories: "text/directory"
.
name: String
File's name, which can be used to navigate to it.
last_modified: Tm
File's last modification time, as returned by the FS.
size: u64
File size in bytes.
Possibly garbage for directories.
Recommended value for directories: 0
.
is_file: bool
Whether the file is a file.
Trait Implementations
impl Clone for RawFileData
[src]
fn clone(&self) -> RawFileData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RawFileData
[src]
impl<'de> Deserialize<'de> for RawFileData
[src]
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<RawFileData, D::Error>
[src]
deserializer: D
) -> Result<RawFileData, D::Error>
impl Eq for RawFileData
[src]
impl Hash for RawFileData
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for RawFileData
[src]
fn cmp(&self, other: &RawFileData) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<RawFileData> for RawFileData
[src]
fn eq(&self, other: &RawFileData) -> bool
[src]
fn ne(&self, other: &RawFileData) -> bool
[src]
impl PartialOrd<RawFileData> for RawFileData
[src]
fn partial_cmp(&self, other: &RawFileData) -> Option<Ordering>
[src]
fn lt(&self, other: &RawFileData) -> bool
[src]
fn le(&self, other: &RawFileData) -> bool
[src]
fn gt(&self, other: &RawFileData) -> bool
[src]
fn ge(&self, other: &RawFileData) -> bool
[src]
impl Serialize for RawFileData
[src]
impl StructuralEq for RawFileData
[src]
impl StructuralPartialEq for RawFileData
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawFileData
impl Send for RawFileData
impl Sync for RawFileData
impl Unpin for RawFileData
impl UnwindSafe for RawFileData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,