Struct unixfs_v1::UnixFs [−][src]
pub struct UnixFs<'a> {
pub Type: DataType,
pub Data: Option<Cow<'a, [u8]>>,
pub filesize: Option<u64>,
pub blocksizes: Vec<u64>,
pub hashType: Option<u64>,
pub fanout: Option<u64>,
pub mode: Option<u32>,
pub mtime: Option<UnixTime>,
}
Fields
Type: DataType
Data: Option<Cow<'a, [u8]>>
filesize: Option<u64>
blocksizes: Vec<u64>
hashType: Option<u64>
fanout: Option<u64>
mode: Option<u32>
mtime: Option<UnixTime>
Trait Implementations
Constructs an instance of Self
by reading from the given bytes
via the given reader. Read more
Writes Self
into W writer
Auto Trait Implementations
impl<'a> RefUnwindSafe for Data<'a>
impl<'a> UnwindSafe for Data<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self