pub struct Helper;Implementations§
Source§impl Helper
impl Helper
pub fn sign_with_private_key_string( private_key_str: &str, message: &str, ) -> Result<String, Box<dyn Error>>
pub fn get_formatted_date() -> String
pub fn get_timestamp_old_format() -> String
pub fn hex_encoded_payload<T: Serialize>( data: &T, ) -> Result<String, Box<dyn Error>>
pub fn hash_with_hmac256( client_secret: &str, string_to_sign: &str, ) -> Result<String, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for Helper
impl RefUnwindSafe for Helper
impl Send for Helper
impl Sync for Helper
impl Unpin for Helper
impl UnsafeUnpin for Helper
impl UnwindSafe for Helper
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