pub struct SquareApiConfig {
pub environment: Environment,
pub api_version: SquareApiVersion,
pub http_client_config: SquareHttpClientConfig,
pub access_token: String,
pub base_url: String,
}
Expand description
A struct to hold the Square API configuration
Fields§
§environment: Environment
§api_version: SquareApiVersion
§http_client_config: SquareHttpClientConfig
§access_token: String
§base_url: String
Implementations§
Trait Implementations§
Source§impl Clone for SquareApiConfig
impl Clone for SquareApiConfig
Source§fn clone(&self) -> SquareApiConfig
fn clone(&self) -> SquareApiConfig
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 moreAuto Trait Implementations§
impl Freeze for SquareApiConfig
impl RefUnwindSafe for SquareApiConfig
impl Send for SquareApiConfig
impl Sync for SquareApiConfig
impl Unpin for SquareApiConfig
impl UnwindSafe for SquareApiConfig
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