pub struct UsAuth { /* private fields */ }Implementations§
Source§impl UsAuth
impl UsAuth
pub fn from_env() -> Result<Self>
pub fn from_parts(key_id: String, secret_b64: &str) -> Result<Self>
pub fn key_id(&self) -> &str
pub fn sign(&self, method: &str, path: &str) -> (i64, String)
pub fn signed_headers( &self, method: &str, path: &str, ) -> [(&'static str, String); 3]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsAuth
impl RefUnwindSafe for UsAuth
impl Send for UsAuth
impl Sync for UsAuth
impl Unpin for UsAuth
impl UnsafeUnpin for UsAuth
impl UnwindSafe for UsAuth
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