pub struct LinuxCreateDirectoryRequest { /* private fields */ }Expand description
Native facts for one durable directory create.
Implementations§
Source§impl LinuxCreateDirectoryRequest
impl LinuxCreateDirectoryRequest
Sourcepub fn new(
parent_key: CloudItemKey,
name: impl Into<String>,
mode: u32,
umask: u32,
session_generation: SessionGeneration,
) -> Result<Self>
pub fn new( parent_key: CloudItemKey, name: impl Into<String>, mode: u32, umask: u32, session_generation: SessionGeneration, ) -> Result<Self>
Creates a directory request without allocating product identity.
§Errors
Returns an error when validation fails or an underlying backend, store, or platform operation fails.
pub const fn parent_key(&self) -> &CloudItemKey
pub fn name(&self) -> &str
pub const fn mode(&self) -> u32
pub const fn umask(&self) -> u32
pub const fn session_generation(&self) -> SessionGeneration
Trait Implementations§
Source§impl Clone for LinuxCreateDirectoryRequest
impl Clone for LinuxCreateDirectoryRequest
Source§fn clone(&self) -> LinuxCreateDirectoryRequest
fn clone(&self) -> LinuxCreateDirectoryRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 LinuxCreateDirectoryRequest
impl Debug for LinuxCreateDirectoryRequest
impl Eq for LinuxCreateDirectoryRequest
impl StructuralPartialEq for LinuxCreateDirectoryRequest
Auto Trait Implementations§
impl Freeze for LinuxCreateDirectoryRequest
impl RefUnwindSafe for LinuxCreateDirectoryRequest
impl Send for LinuxCreateDirectoryRequest
impl Sync for LinuxCreateDirectoryRequest
impl Unpin for LinuxCreateDirectoryRequest
impl UnwindSafe for LinuxCreateDirectoryRequest
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