pub struct EnvironmentFileContent { /* private fields */ }Expand description
UTF-8 environment-file content supplied through an explicit authorization boundary.
Implementations§
Source§impl EnvironmentFileContent
impl EnvironmentFileContent
Sourcepub fn sensitive(text: impl Into<String>) -> Self
pub fn sensitive(text: impl Into<String>) -> Self
Creates content whose derived values must remain redacted in debug output.
Sourcepub fn expose(&self) -> &str
pub fn expose(&self) -> &str
Returns content after the caller explicitly crosses the sensitivity boundary.
Sourcepub const fn is_sensitive(&self) -> bool
pub const fn is_sensitive(&self) -> bool
Reports whether derived values must be treated as sensitive.
Trait Implementations§
Source§impl Clone for EnvironmentFileContent
impl Clone for EnvironmentFileContent
Source§fn clone(&self) -> EnvironmentFileContent
fn clone(&self) -> EnvironmentFileContent
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 EnvironmentFileContent
impl Debug for EnvironmentFileContent
impl Eq for EnvironmentFileContent
Source§impl PartialEq for EnvironmentFileContent
impl PartialEq for EnvironmentFileContent
impl StructuralPartialEq for EnvironmentFileContent
Auto Trait Implementations§
impl Freeze for EnvironmentFileContent
impl RefUnwindSafe for EnvironmentFileContent
impl Send for EnvironmentFileContent
impl Sync for EnvironmentFileContent
impl Unpin for EnvironmentFileContent
impl UnsafeUnpin for EnvironmentFileContent
impl UnwindSafe for EnvironmentFileContent
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