pub struct SecretFile<T> {
pub path: PathBuf,
pub key: String,
pub value: T,
}Expand description
Typed secret file payload.
Fields§
§path: PathBufSource file path.
key: StringSecret key, usually derived from the filename.
value: TParsed secret value.
Trait Implementations§
Source§impl<T: Clone> Clone for SecretFile<T>
impl<T: Clone> Clone for SecretFile<T>
Auto Trait Implementations§
impl<T> Freeze for SecretFile<T>where
T: Freeze,
impl<T> RefUnwindSafe for SecretFile<T>where
T: RefUnwindSafe,
impl<T> Send for SecretFile<T>where
T: Send,
impl<T> Sync for SecretFile<T>where
T: Sync,
impl<T> Unpin for SecretFile<T>where
T: Unpin,
impl<T> UnsafeUnpin for SecretFile<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SecretFile<T>where
T: UnwindSafe,
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