pub struct ProviderOptions { /* private fields */ }Expand description
An ordered service provider-options mapping, including an explicitly empty mapping.
Implementations§
Source§impl ProviderOptions
impl ProviderOptions
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete options mapping span.
Sourcepub fn entries(&self) -> &[ProviderOption]
pub fn entries(&self) -> &[ProviderOption]
Returns valid option entries in authored order.
Sourcepub fn unmodeled_entries(&self) -> &[FieldReference]
pub fn unmodeled_entries(&self) -> &[FieldReference]
Returns malformed or duplicate option entries retained as evidence.
Trait Implementations§
Source§impl Clone for ProviderOptions
impl Clone for ProviderOptions
Source§fn clone(&self) -> ProviderOptions
fn clone(&self) -> ProviderOptions
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 ProviderOptions
impl Debug for ProviderOptions
impl Eq for ProviderOptions
Source§impl PartialEq for ProviderOptions
impl PartialEq for ProviderOptions
impl StructuralPartialEq for ProviderOptions
Auto Trait Implementations§
impl Freeze for ProviderOptions
impl RefUnwindSafe for ProviderOptions
impl Send for ProviderOptions
impl Sync for ProviderOptions
impl Unpin for ProviderOptions
impl UnsafeUnpin for ProviderOptions
impl UnwindSafe for ProviderOptions
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