pub struct FolderList {
pub path: String,
pub parent: Option<String>,
pub dirs: Vec<String>,
pub truncated: bool,
pub error: Option<String>,
}Expand description
A folder’s subfolders on the engine’s machine (answer to ClientMsg::ListFolders).
Fields§
§path: StringThe folder listed (absolute, canonical).
parent: Option<String>§dirs: Vec<String>Names of its subfolders (hidden ones left out), sorted, at most MAX_LISTED_FOLDERS.
truncated: boolMore subfolders than listed.
error: Option<String>Why it couldn’t be listed (path is then what was asked for).
Trait Implementations§
Source§impl Clone for FolderList
impl Clone for FolderList
Source§impl Debug for FolderList
impl Debug for FolderList
Source§impl Default for FolderList
impl Default for FolderList
Source§impl<'de> Deserialize<'de> for FolderList
impl<'de> Deserialize<'de> for FolderList
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
impl Eq for FolderList
Source§impl PartialEq for FolderList
impl PartialEq for FolderList
Source§impl Serialize for FolderList
impl Serialize for FolderList
impl StructuralPartialEq for FolderList
Auto Trait Implementations§
impl Forget for FolderList
impl Freeze for FolderList
impl Move for FolderList
impl RefUnwindSafe for FolderList
impl Send for FolderList
impl Sync for FolderList
impl Unpin for FolderList
impl UnsafeUnpin for FolderList
impl UnwindSafe for FolderList
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