pub struct RegistryOptions<R> { /* private fields */ }Expand description
Configuration options for creating a Registry.
Implementations§
Source§impl<R> RegistryOptions<R>
impl<R> RegistryOptions<R>
Sourcepub fn draft(self, draft: Draft) -> RegistryOptions<R>
pub fn draft(self, draft: Draft) -> RegistryOptions<R>
Set specification version under which the resources should be interpreted under.
Source§impl RegistryOptions<Arc<dyn Retrieve>>
impl RegistryOptions<Arc<dyn Retrieve>>
Sourcepub fn new() -> RegistryOptions<Arc<dyn Retrieve>>
pub fn new() -> RegistryOptions<Arc<dyn Retrieve>>
Create a new RegistryOptions with default settings.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for RegistryOptions<R>where
R: Freeze,
impl<R> RefUnwindSafe for RegistryOptions<R>where
R: RefUnwindSafe,
impl<R> Send for RegistryOptions<R>where
R: Send,
impl<R> Sync for RegistryOptions<R>where
R: Sync,
impl<R> Unpin for RegistryOptions<R>where
R: Unpin,
impl<R> UnwindSafe for RegistryOptions<R>where
R: UnwindSafe,
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