pub struct SpapiConfig {
pub client_id: String,
pub client_secret: String,
pub refresh_token: String,
pub marketplace_id: String,
pub region: String,
pub sandbox: bool,
pub user_agent: Option<String>,
pub timeout_sec: Option<u64>,
pub rate_limit_factor: Option<f64>,
}Fields§
§client_id: String§client_secret: String§refresh_token: String§marketplace_id: String§region: String§sandbox: bool§user_agent: Option<String>§timeout_sec: Option<u64>§rate_limit_factor: Option<f64>Implementations§
Trait Implementations§
Source§impl Clone for SpapiConfig
impl Clone for SpapiConfig
Source§fn clone(&self) -> SpapiConfig
fn clone(&self) -> SpapiConfig
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 SpapiConfig
impl Debug for SpapiConfig
Source§impl<'de> Deserialize<'de> for SpapiConfig
impl<'de> Deserialize<'de> for SpapiConfig
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 SpapiConfig
impl RefUnwindSafe for SpapiConfig
impl Send for SpapiConfig
impl Sync for SpapiConfig
impl Unpin for SpapiConfig
impl UnwindSafe for SpapiConfig
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