pub struct ImportBrainReport {
pub source: String,
pub into_scope: String,
pub files_copied: usize,
pub files_skipped: usize,
pub dest_root: String,
pub scope_registered: bool,
pub mounted: bool,
pub bytes_copied: u64,
}Expand description
Result of importing a brain.
Fields§
§source: StringSource workspace path.
into_scope: StringTarget scope id.
files_copied: usizeFiles copied.
files_skipped: usizeFiles skipped (exist, no force).
dest_root: StringDestination or mount root used.
scope_registered: boolWhether a SubBrain was registered.
mounted: boolTrue when source was attached in-place (no file copy).
bytes_copied: u64Bytes copied (0 when mounted).
Trait Implementations§
Source§impl Clone for ImportBrainReport
impl Clone for ImportBrainReport
Source§fn clone(&self) -> ImportBrainReport
fn clone(&self) -> ImportBrainReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImportBrainReport
impl Debug for ImportBrainReport
Auto Trait Implementations§
impl Freeze for ImportBrainReport
impl RefUnwindSafe for ImportBrainReport
impl Send for ImportBrainReport
impl Sync for ImportBrainReport
impl Unpin for ImportBrainReport
impl UnsafeUnpin for ImportBrainReport
impl UnwindSafe for ImportBrainReport
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