pub struct GetMerchantsResponse {
pub success: bool,
pub error: String,
pub response_description: String,
pub test: bool,
pub max_results: i32,
pub start_index: i32,
pub result_count: i32,
pub merchants: Option<Vec<MerchantProfileResponse>>,
}Expand description
The results for a merchant list request.
Fields§
§success: boolWhether or not the request succeeded.
error: StringThe error, if an error occurred.
response_description: StringA narrative description of the transaction result.
test: boolWhether or not these results are for test or live merchants.
max_results: i32Max to be returned in a single page. Defaults to the system max of 250.
start_index: i32Starting index for paged results. Defaults to zero.
result_count: i32Total number of results accessible through paging.
merchants: Option<Vec<MerchantProfileResponse>>Merchants in the current page of results.
Trait Implementations§
Source§impl Clone for GetMerchantsResponse
impl Clone for GetMerchantsResponse
Source§fn clone(&self) -> GetMerchantsResponse
fn clone(&self) -> GetMerchantsResponse
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 GetMerchantsResponse
impl Debug for GetMerchantsResponse
Source§impl Default for GetMerchantsResponse
impl Default for GetMerchantsResponse
Source§fn default() -> GetMerchantsResponse
fn default() -> GetMerchantsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetMerchantsResponse
impl<'de> Deserialize<'de> for GetMerchantsResponse
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 GetMerchantsResponse
impl RefUnwindSafe for GetMerchantsResponse
impl Send for GetMerchantsResponse
impl Sync for GetMerchantsResponse
impl Unpin for GetMerchantsResponse
impl UnsafeUnpin for GetMerchantsResponse
impl UnwindSafe for GetMerchantsResponse
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