pub struct BatchHistoryResponse {
pub success: bool,
pub error: String,
pub response_description: String,
pub test: bool,
pub start_date: DateTime<Utc>,
pub end_date: DateTime<Utc>,
pub batches: Option<Vec<BatchSummary>>,
pub max_results: i32,
pub start_index: i32,
pub total_result_count: i32,
}Expand description
Models response to a batch history 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: boolThat the response came from the test gateway.
start_date: DateTime<Utc>Start date if filtered by start date.
end_date: DateTime<Utc>End date if filtered by end date.
batches: Option<Vec<BatchSummary>>Merchant’s batch history in descending order.
max_results: i32Max results from the original request echoed back.
start_index: i32Starting index from the original request echoed back.
total_result_count: i32Total number of results accessible through paging.
Trait Implementations§
Source§impl Clone for BatchHistoryResponse
impl Clone for BatchHistoryResponse
Source§fn clone(&self) -> BatchHistoryResponse
fn clone(&self) -> BatchHistoryResponse
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 BatchHistoryResponse
impl Debug for BatchHistoryResponse
Source§impl Default for BatchHistoryResponse
impl Default for BatchHistoryResponse
Source§fn default() -> BatchHistoryResponse
fn default() -> BatchHistoryResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchHistoryResponse
impl<'de> Deserialize<'de> for BatchHistoryResponse
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 BatchHistoryResponse
impl RefUnwindSafe for BatchHistoryResponse
impl Send for BatchHistoryResponse
impl Sync for BatchHistoryResponse
impl Unpin for BatchHistoryResponse
impl UnsafeUnpin for BatchHistoryResponse
impl UnwindSafe for BatchHistoryResponse
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