pub struct WriteSessionConfig {
pub cwd: String,
pub permissions: PermissionPolicy,
pub ledger: Arc<dyn Ledger>,
pub max_file_size: Option<u64>,
}Fields§
§cwd: String§permissions: PermissionPolicy§ledger: Arc<dyn Ledger>§max_file_size: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for WriteSessionConfig
impl Clone for WriteSessionConfig
Source§fn clone(&self) -> WriteSessionConfig
fn clone(&self) -> WriteSessionConfig
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 moreAuto Trait Implementations§
impl Freeze for WriteSessionConfig
impl !RefUnwindSafe for WriteSessionConfig
impl Send for WriteSessionConfig
impl Sync for WriteSessionConfig
impl Unpin for WriteSessionConfig
impl UnsafeUnpin for WriteSessionConfig
impl !UnwindSafe for WriteSessionConfig
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