pub struct RedactedJsonTextSession<'text, 'session, 'policy> { /* private fields */ }Expand description
A nested JSON text view that accounts against an existing diagnostic session.
Implementations§
Source§impl<'text, 'session, 'policy> RedactedJsonTextSession<'text, 'session, 'policy>
impl<'text, 'session, 'policy> RedactedJsonTextSession<'text, 'session, 'policy>
Sourcepub fn new(
text: &'text str,
session: &'session RedactionSession<'policy>,
) -> Self
pub fn new( text: &'text str, session: &'session RedactionSession<'policy>, ) -> Self
Creates a JSON text view borrowing an existing diagnostic session.
Trait Implementations§
Source§impl Debug for RedactedJsonTextSession<'_, '_, '_>
impl Debug for RedactedJsonTextSession<'_, '_, '_>
Auto Trait Implementations§
impl<'text, 'session, 'policy> !RefUnwindSafe for RedactedJsonTextSession<'text, 'session, 'policy>
impl<'text, 'session, 'policy> !Send for RedactedJsonTextSession<'text, 'session, 'policy>
impl<'text, 'session, 'policy> !Sync for RedactedJsonTextSession<'text, 'session, 'policy>
impl<'text, 'session, 'policy> !UnwindSafe for RedactedJsonTextSession<'text, 'session, 'policy>
impl<'text, 'session, 'policy> Freeze for RedactedJsonTextSession<'text, 'session, 'policy>
impl<'text, 'session, 'policy> Unpin for RedactedJsonTextSession<'text, 'session, 'policy>
impl<'text, 'session, 'policy> UnsafeUnpin for RedactedJsonTextSession<'text, 'session, 'policy>
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