pub struct Options {
pub required_trust: Trust,
}
Expand description
Options to help guide the discovery of repositories, along with their options when instantiated.
Fields
required_trust: Trust
When discovering a repository, assure it has at least this trust level or ignore it otherwise.
This defaults to Reduced
as our default settings are geared towards avoiding abuse.
Set it to Full
to only see repositories that are owned by the current user.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more