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