Struct smarty_rust_sdk::sdk::authentication::SecretKeyCredential
source · pub struct SecretKeyCredential {
pub auth_id: String,
pub auth_token: String,
}
Fields§
§auth_id: String
§auth_token: String
Implementations§
Trait Implementations§
source§impl AuthClone for SecretKeyCredential
impl AuthClone for SecretKeyCredential
fn clone_box(&self) -> Box<dyn Authenticate>
source§impl Authenticate for SecretKeyCredential
impl Authenticate for SecretKeyCredential
source§fn authenticate(&self, request: RequestBuilder) -> RequestBuilder
fn authenticate(&self, request: RequestBuilder) -> RequestBuilder
Authenticates the Request with the given authentication credentials
source§impl Clone for SecretKeyCredential
impl Clone for SecretKeyCredential
source§fn clone(&self) -> SecretKeyCredential
fn clone(&self) -> SecretKeyCredential
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SecretKeyCredential
impl Debug for SecretKeyCredential
source§impl PartialEq for SecretKeyCredential
impl PartialEq for SecretKeyCredential
source§fn eq(&self, other: &SecretKeyCredential) -> bool
fn eq(&self, other: &SecretKeyCredential) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecretKeyCredential
Auto Trait Implementations§
impl Freeze for SecretKeyCredential
impl RefUnwindSafe for SecretKeyCredential
impl Send for SecretKeyCredential
impl Sync for SecretKeyCredential
impl Unpin for SecretKeyCredential
impl UnwindSafe for SecretKeyCredential
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)