pub struct CreateReportingReportRun { /* private fields */ }
Expand description
Creates a new object and begin running the report. (Certain report types require a live-mode API key.).
Implementations§
Source§impl CreateReportingReportRun
impl CreateReportingReportRun
Sourcepub fn expand(self, expand: impl Into<Vec<String>>) -> Self
pub fn expand(self, expand: impl Into<Vec<String>>) -> Self
Specifies which fields in the response should be expanded.
Sourcepub fn parameters(
self,
parameters: impl Into<CreateReportingReportRunParameters>,
) -> Self
pub fn parameters( self, parameters: impl Into<CreateReportingReportRunParameters>, ) -> Self
Parameters specifying how the report should be run. Different Report Types have different required and optional parameters, listed in the API Access to Reports documentation.
Source§impl CreateReportingReportRun
impl CreateReportingReportRun
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for CreateReportingReportRun
impl Clone for CreateReportingReportRun
Source§fn clone(&self) -> CreateReportingReportRun
fn clone(&self) -> CreateReportingReportRun
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 CreateReportingReportRun
impl Debug for CreateReportingReportRun
Source§impl Serialize for CreateReportingReportRun
impl Serialize for CreateReportingReportRun
Source§impl StripeRequest for CreateReportingReportRun
impl StripeRequest for CreateReportingReportRun
Source§type Output = ReportingReportRun
type Output = ReportingReportRun
The data returned from the eventual API call.
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for CreateReportingReportRun
impl RefUnwindSafe for CreateReportingReportRun
impl Send for CreateReportingReportRun
impl Sync for CreateReportingReportRun
impl Unpin for CreateReportingReportRun
impl UnwindSafe for CreateReportingReportRun
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