pub struct CountriesRequest { /* private fields */ }Expand description
builder for GET /configuration/countries
Implementations§
Source§impl CountriesRequest
impl CountriesRequest
pub async fn send(self) -> Result<Vec<CountryInfo>>
Source§impl CountriesRequest
impl CountriesRequest
Sourcepub fn into_stream(self) -> PageStream<Vec<CountryInfo>>
Available on crate feature stream only.
pub fn into_stream(self) -> PageStream<Vec<CountryInfo>>
stream only.every page of the endpoint as a stream of items
Trait Implementations§
Source§impl Clone for CountriesRequest
impl Clone for CountriesRequest
Source§fn clone(&self) -> CountriesRequest
fn clone(&self) -> CountriesRequest
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 !RefUnwindSafe for CountriesRequest
impl !UnwindSafe for CountriesRequest
impl Freeze for CountriesRequest
impl Send for CountriesRequest
impl Sync for CountriesRequest
impl Unpin for CountriesRequest
impl UnsafeUnpin for CountriesRequest
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