[−][src]Struct rfsapi::FilesetData
Basic RFSAPI response returned by the server.
Examples
let resp: FilesetData = serde_json::from_str(server_response); println!("Requested directory has {} children.", resp.files.len());
Fields
writes_supported: bool
Whether PUT and DELETE requests are allowed on the server.
is_root: bool
Whether the requested directory is the root (topmost).
false
if a singular file was requested.
is_file: bool
Whether the requested resource is a file.
files: Vec<RawFileData>
List of requested files.
If the requested resource is a directory, its immediate children are returned here.
If the requested resource is a file, its information is returned as the only element.
Trait Implementations
impl Clone for FilesetData
[src][+]
impl Debug for FilesetData
[src][+]
impl<'de> Deserialize<'de> for FilesetData
[src][+]
impl Eq for FilesetData
[src]
impl Hash for FilesetData
[src][+]
impl Ord for FilesetData
[src][+]
impl PartialEq<FilesetData> for FilesetData
[src][+]
impl PartialOrd<FilesetData> for FilesetData
[src][+]
impl Serialize for FilesetData
[src][+]
impl StructuralEq for FilesetData
[src]
impl StructuralPartialEq for FilesetData
[src]
Auto Trait Implementations
impl RefUnwindSafe for FilesetData
impl Send for FilesetData
impl Sync for FilesetData
impl Unpin for FilesetData
impl UnwindSafe for FilesetData
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,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,