pub struct CollectionOptions {
pub exclude: Vec<PathBuf>,
pub allow_partial: bool,
}Expand description
Local collection policy. Collection is not an atomic filesystem snapshot.
Fields§
§exclude: Vec<PathBuf>Paths relative to the collection root to exclude, including descendants.
allow_partial: boolPublish a partial collection after discovery errors, recording every issue. Read errors and source mutation always poison the writer.
Trait Implementations§
Source§impl Clone for CollectionOptions
impl Clone for CollectionOptions
Source§impl Debug for CollectionOptions
impl Debug for CollectionOptions
Source§impl Default for CollectionOptions
impl Default for CollectionOptions
Auto Trait Implementations§
impl Freeze for CollectionOptions
impl RefUnwindSafe for CollectionOptions
impl Send for CollectionOptions
impl Sync for CollectionOptions
impl Unpin for CollectionOptions
impl UnsafeUnpin for CollectionOptions
impl UnwindSafe for CollectionOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more