pub struct Import {
pub cid_version: Option<OptionalInteger>,
pub hash_function: Option<OptionalString>,
pub unixfs_raw_leaves: Option<Flag>,
pub unixfs_chunker: Option<OptionalString>,
}Expand description
Import configuration
Fields§
§cid_version: Option<OptionalInteger>§hash_function: Option<OptionalString>§unixfs_raw_leaves: Option<Flag>§unixfs_chunker: Option<OptionalString>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Import
impl<'de> Deserialize<'de> for Import
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
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnwindSafe for Import
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