pub struct RequestAuth {
pub buffer: Secret<Vec<u8>>,
}
Expand description
Wrapper around the authentication value of a request.
Hides the contents and keeps them immutable.
Fields§
§buffer: Secret<Vec<u8>>
Buffer holding the authentication token as a byte vector
Implementations§
Auto Trait Implementations§
impl Freeze for RequestAuth
impl RefUnwindSafe for RequestAuth
impl Send for RequestAuth
impl Sync for RequestAuth
impl Unpin for RequestAuth
impl UnwindSafe for RequestAuth
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