pub struct CustomAuthParams {
pub base_url: Option<String>,
pub headers: Option<HashMap<String, String>>,
pub query_params: Option<HashMap<String, String>>,
}Expand description
Custom authentication parameters
Fields§
§base_url: Option<String>Base URL for API requests
headers: Option<HashMap<String, String>>Custom headers
query_params: Option<HashMap<String, String>>Custom query parameters
Trait Implementations§
Source§impl Clone for CustomAuthParams
impl Clone for CustomAuthParams
Source§fn clone(&self) -> CustomAuthParams
fn clone(&self) -> CustomAuthParams
Returns a duplicate 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 CustomAuthParams
impl Debug for CustomAuthParams
Source§impl<'de> Deserialize<'de> for CustomAuthParams
impl<'de> Deserialize<'de> for CustomAuthParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomAuthParams
impl RefUnwindSafe for CustomAuthParams
impl Send for CustomAuthParams
impl Sync for CustomAuthParams
impl Unpin for CustomAuthParams
impl UnsafeUnpin for CustomAuthParams
impl UnwindSafe for CustomAuthParams
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