pub struct Export {
pub files: Files,
pub artifacts: Vec<Artifact>,
}Expand description
The store files of an exported tree (mirror or zip), without
EXPORT.json, and the sync tool artifacts skipped on the way (a
desktop.ini or a conflicted copy in latest/ is not a store file).
Paths that are not plain store-relative paths (absolute, .., .git)
are refused (zip-slip).
Fields§
§files: Files§artifacts: Vec<Artifact>Trait Implementations§
impl Eq for Export
impl StructuralPartialEq for Export
Auto Trait Implementations§
impl Forget for Export
impl Freeze for Export
impl Move for Export
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnsafeUnpin for Exportwhere
*const LeafNode<String, Vec<u8>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Vec<u8>)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Artifact>: UnsafeUnpin,
impl UnwindSafe for Export
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.