pub struct SecretPath(/* private fields */);Expand description
A secret path within a mount, using the same validation as MountPath
Exists as a distinct type for semantic clarity at call sites
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SecretPath
impl AsRef<str> for SecretPath
Source§impl Borrow<str> for SecretPath
impl Borrow<str> for SecretPath
Source§impl Clone for SecretPath
impl Clone for SecretPath
Source§fn clone(&self) -> SecretPath
fn clone(&self) -> SecretPath
Returns a duplicate of the value. Read more
1.0.0 · 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 SecretPath
impl Debug for SecretPath
Source§impl<'de> Deserialize<'de> for SecretPath
impl<'de> Deserialize<'de> for SecretPath
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SecretPath
impl Display for SecretPath
Source§impl From<SecretPath> for String
impl From<SecretPath> for String
Source§fn from(p: SecretPath) -> Self
fn from(p: SecretPath) -> Self
Converts to this type from the input type.
Source§impl Hash for SecretPath
impl Hash for SecretPath
Source§impl PartialEq for SecretPath
impl PartialEq for SecretPath
Source§impl Serialize for SecretPath
impl Serialize for SecretPath
Source§impl TryFrom<&str> for SecretPath
impl TryFrom<&str> for SecretPath
Source§impl TryFrom<String> for SecretPath
impl TryFrom<String> for SecretPath
impl Eq for SecretPath
impl StructuralPartialEq for SecretPath
Auto Trait Implementations§
impl Freeze for SecretPath
impl RefUnwindSafe for SecretPath
impl Send for SecretPath
impl Sync for SecretPath
impl Unpin for SecretPath
impl UnsafeUnpin for SecretPath
impl UnwindSafe for SecretPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.