Struct iroh_blobs::rpc::client::blobs::AddFileOpts
source · pub struct AddFileOpts {
pub import_mode: ImportMode,
pub format: BlobFormat,
}
Available on crate feature
rpc
only.Expand description
Options for adding a file as a blob
Fields§
§import_mode: ImportMode
The import mode
format: BlobFormat
The format of the blob
Trait Implementations§
source§impl Clone for AddFileOpts
impl Clone for AddFileOpts
source§fn clone(&self) -> AddFileOpts
fn clone(&self) -> AddFileOpts
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 AddFileOpts
impl Debug for AddFileOpts
source§impl Default for AddFileOpts
impl Default for AddFileOpts
source§fn default() -> AddFileOpts
fn default() -> AddFileOpts
Returns the “default value” for a type. Read more
impl Copy for AddFileOpts
Auto Trait Implementations§
impl Freeze for AddFileOpts
impl RefUnwindSafe for AddFileOpts
impl Send for AddFileOpts
impl Sync for AddFileOpts
impl Unpin for AddFileOpts
impl UnwindSafe for AddFileOpts
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