pub struct Secrets {
pub key: Secret<String>,
pub secret: Secret<String>,
}
Expand description
A struct containing the API key and secret (using secrecy::Secret)
Fields§
§key: Secret<String>
§secret: Secret<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Secrets
impl RefUnwindSafe for Secrets
impl Send for Secrets
impl Sync for Secrets
impl Unpin for Secrets
impl UnwindSafe for Secrets
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