pub struct CanonicalRender { /* private fields */ }Expand description
The result of deterministic canonical rendering.
The output can contain interpolated secrets and is therefore available only through explicit
accessors. Its Debug representation redacts the complete output when any rendered value is
sensitive.
Implementations§
Source§impl CanonicalRender
impl CanonicalRender
Sourcepub fn into_output(self) -> String
pub fn into_output(self) -> String
Consumes the result and returns the rendered document.
Sourcepub fn diagnostics(&self) -> &[Diagnostic]
pub fn diagnostics(&self) -> &[Diagnostic]
Returns canonical-rendering diagnostics.
Sourcepub const fn is_sensitive(&self) -> bool
pub const fn is_sensitive(&self) -> bool
Reports whether any rendered value contains sensitive interpolation output.
Trait Implementations§
Source§impl Clone for CanonicalRender
impl Clone for CanonicalRender
Source§fn clone(&self) -> CanonicalRender
fn clone(&self) -> CanonicalRender
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 CanonicalRender
impl Debug for CanonicalRender
impl Eq for CanonicalRender
Source§impl PartialEq for CanonicalRender
impl PartialEq for CanonicalRender
impl StructuralPartialEq for CanonicalRender
Auto Trait Implementations§
impl Freeze for CanonicalRender
impl RefUnwindSafe for CanonicalRender
impl Send for CanonicalRender
impl Sync for CanonicalRender
impl Unpin for CanonicalRender
impl UnsafeUnpin for CanonicalRender
impl UnwindSafe for CanonicalRender
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