pub struct GetRegionListParams {
pub country_code: String,
}Expand description
Request parameters for the [get_region_list] operation.
This struct holds all of the inputs you can pass when calling
get_region_list.
Fields§
§country_code: StringISO 2-digit country code (from Country List API).
This field is **required.
Implementations§
Source§impl GetRegionListParams
impl GetRegionListParams
Sourcepub fn builder(country_code: String) -> GetRegionListParamsBuilder
pub fn builder(country_code: String) -> GetRegionListParamsBuilder
Create a builder for [get_region_list].
Required parameters:
country_code— ISO 2-digit country code (fromCountry ListAPI).
Trait Implementations§
Source§impl Clone for GetRegionListParams
impl Clone for GetRegionListParams
Source§fn clone(&self) -> GetRegionListParams
fn clone(&self) -> GetRegionListParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetRegionListParams
impl RefUnwindSafe for GetRegionListParams
impl Send for GetRegionListParams
impl Sync for GetRegionListParams
impl Unpin for GetRegionListParams
impl UnsafeUnpin for GetRegionListParams
impl UnwindSafe for GetRegionListParams
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