pub struct CapiKey {
pub name: String,
pub secret_key: String,
}Expand description
A minted CAPI user key. secret_key is redacted from Debug.
Fields§
§name: String§secret_key: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for CapiKey
impl RefUnwindSafe for CapiKey
impl Send for CapiKey
impl Sync for CapiKey
impl Unpin for CapiKey
impl UnsafeUnpin for CapiKey
impl UnwindSafe for CapiKey
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