pub struct MaterializedInput {
pub cid: String,
pub path: PathBuf,
pub data_id: Option<String>,
pub name: Option<String>,
pub data_type: Option<String>,
pub domain_id: Option<String>,
pub root_dir: PathBuf,
pub related_files: Vec<PathBuf>,
pub extracted_paths: Vec<PathBuf>,
}Expand description
Result of materializing a CID, including discovered metadata from the domain server.
Fields§
§cid: String§path: PathBuf§data_id: Option<String>§name: Option<String>§data_type: Option<String>§domain_id: Option<String>§root_dir: PathBuf§extracted_paths: Vec<PathBuf>Implementations§
Trait Implementations§
Source§impl Clone for MaterializedInput
impl Clone for MaterializedInput
Source§fn clone(&self) -> MaterializedInput
fn clone(&self) -> MaterializedInput
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 moreSource§impl Debug for MaterializedInput
impl Debug for MaterializedInput
Source§impl PartialEq for MaterializedInput
impl PartialEq for MaterializedInput
impl Eq for MaterializedInput
impl StructuralPartialEq for MaterializedInput
Auto Trait Implementations§
impl Freeze for MaterializedInput
impl RefUnwindSafe for MaterializedInput
impl Send for MaterializedInput
impl Sync for MaterializedInput
impl Unpin for MaterializedInput
impl UnwindSafe for MaterializedInput
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