Struct square_rust::config::SquareApiConfig
source · 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 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 moreAuto Trait Implementations§
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