pub struct FsCreateDirectoryParams {
pub path: AbsolutePathBuf,
pub recursive: Option<bool>,
}Expand description
Create a directory on the host filesystem.
JSON schema
{
"title": "FsCreateDirectoryParams",
"description": "Create a directory on the host filesystem.",
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"description": "Absolute directory path to create.",
"allOf": [
{
"$ref": "#/definitions/AbsolutePathBuf"
}
]
},
"recursive": {
"description": "Whether parent directories should also be created. Defaults to `true`.",
"type": [
"boolean",
"null"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§path: AbsolutePathBufAbsolute directory path to create.
recursive: Option<bool>Whether parent directories should also be created. Defaults to true.
Trait Implementations§
Source§impl Clone for FsCreateDirectoryParams
impl Clone for FsCreateDirectoryParams
Source§fn clone(&self) -> FsCreateDirectoryParams
fn clone(&self) -> FsCreateDirectoryParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FsCreateDirectoryParams
impl Debug for FsCreateDirectoryParams
Source§impl<'de> Deserialize<'de> for FsCreateDirectoryParams
impl<'de> Deserialize<'de> for FsCreateDirectoryParams
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
Auto Trait Implementations§
impl Freeze for FsCreateDirectoryParams
impl RefUnwindSafe for FsCreateDirectoryParams
impl Send for FsCreateDirectoryParams
impl Sync for FsCreateDirectoryParams
impl Unpin for FsCreateDirectoryParams
impl UnsafeUnpin for FsCreateDirectoryParams
impl UnwindSafe for FsCreateDirectoryParams
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