pub struct MkdirCallArgs {
pub path: MontyPath,
pub parents: bool,
pub exist_ok: bool,
}Expand description
mkdir(path, parents=False, exist_ok=False) shape. parents/exist_ok
are kw-only so ToArgs emits them as kwargs (matching CPython).
Fields§
§path: MontyPath§parents: bool§exist_ok: boolTrait Implementations§
Source§impl Clone for MkdirCallArgs
impl Clone for MkdirCallArgs
Source§fn clone(&self) -> MkdirCallArgs
fn clone(&self) -> MkdirCallArgs
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 MkdirCallArgs
impl Debug for MkdirCallArgs
Source§impl<'de> Deserialize<'de> for MkdirCallArgs
impl<'de> Deserialize<'de> for MkdirCallArgs
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 Serialize for MkdirCallArgs
impl Serialize for MkdirCallArgs
Source§impl ToArgs for MkdirCallArgs
impl ToArgs for MkdirCallArgs
fn to_args(self) -> (Vec<MontyObject>, Vec<(MontyObject, MontyObject)>)
Auto Trait Implementations§
impl Freeze for MkdirCallArgs
impl RefUnwindSafe for MkdirCallArgs
impl Send for MkdirCallArgs
impl Sync for MkdirCallArgs
impl Unpin for MkdirCallArgs
impl UnsafeUnpin for MkdirCallArgs
impl UnwindSafe for MkdirCallArgs
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