pub struct StmtRequest {
pub account_id: String,
pub account_ids: Option<Vec<String>>,
pub crypto_consol_if_available: Option<bool>,
pub end_date: String,
pub gzip: Option<bool>,
pub language: Option<String>,
pub mime_type: Option<String>,
pub multi_account_format: Option<String>,
pub start_date: String,
}Fields§
§account_id: Stringaccount id
account_ids: Option<Vec<String>>array of account id’s
- Example:
Some(vec!["U123", "U456"].to_string())
crypto_consol_if_available: Option<bool>crypto consolidate flag, If request contains any accounts with crypto segment, will turn request into Crypto Consolidated
end_date: Stringto date
gzip: Option<bool>to gzip the whole response pass true
language: Option<String>two character ISO language code
- Example:
Some("en, fr defaults to en (english)".to_string())
mime_type: Option<String>output format
- Example:
Some("application/pdf, text/html, or text/csv".to_string())
multi_account_format: Option<String>possible values are consolidate, concatenate, or customConsolidate
start_date: Stringfrom date
Trait Implementations§
Source§impl Clone for StmtRequest
impl Clone for StmtRequest
Source§fn clone(&self) -> StmtRequest
fn clone(&self) -> StmtRequest
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 StmtRequest
impl Debug for StmtRequest
Source§impl Default for StmtRequest
impl Default for StmtRequest
Source§impl PartialEq for StmtRequest
impl PartialEq for StmtRequest
Source§impl Serialize for StmtRequest
impl Serialize for StmtRequest
Source§impl<'v_a> ValidateArgs<'v_a> for StmtRequest
impl<'v_a> ValidateArgs<'v_a> for StmtRequest
impl StructuralPartialEq for StmtRequest
Auto Trait Implementations§
impl Freeze for StmtRequest
impl RefUnwindSafe for StmtRequest
impl Send for StmtRequest
impl Sync for StmtRequest
impl Unpin for StmtRequest
impl UnsafeUnpin for StmtRequest
impl UnwindSafe for StmtRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension. Read more
§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension, using
x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses. Read more
§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses, using
x-request-id as the header name. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
Intercept requests with over-sized payloads and convert them into
413 Payload Too Large responses. Read more