Struct iroh_blobs::rpc::client::blobs::AddDirOpts
source · pub struct AddDirOpts {
pub import_mode: ImportMode,
pub wrap: WrapOption,
pub io_parallelism: usize,
}
Available on crate feature
rpc
only.Expand description
Options for adding a directory as a collection
Fields§
§import_mode: ImportMode
The import mode
wrap: WrapOption
Whether to preserve the directory name
io_parallelism: usize
Io parallelism
Trait Implementations§
source§impl Clone for AddDirOpts
impl Clone for AddDirOpts
source§fn clone(&self) -> AddDirOpts
fn clone(&self) -> AddDirOpts
Returns a copy 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 AddDirOpts
impl Debug for AddDirOpts
Auto Trait Implementations§
impl Freeze for AddDirOpts
impl RefUnwindSafe for AddDirOpts
impl Send for AddDirOpts
impl Sync for AddDirOpts
impl Unpin for AddDirOpts
impl UnwindSafe for AddDirOpts
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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