pub struct ReportingReportType {
pub data_available_end: Timestamp,
pub data_available_start: Timestamp,
pub default_columns: Option<Vec<String>>,
pub id: ReportingReportTypeId,
pub livemode: bool,
pub name: String,
pub updated: Timestamp,
pub version: i64,
}
Expand description
The Report Type resource corresponds to a particular type of report, such as the “Activity summary” or “Itemized payouts” reports. These objects are identified by an ID belonging to a set of enumerated values. See API Access to Reports documentation for those Report Type IDs, along with required and optional parameters.
Note that certain report types can only be run based on your live-mode data (not test-mode data), and will error when queried without a live-mode API key.
For more details see <https://stripe.com/docs/api/reporting/report_type/object>.
Fields§
§data_available_end: Timestamp
Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch.
data_available_start: Timestamp
Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch.
default_columns: Option<Vec<String>>
List of column names that are included by default when this Report Type gets run.
(If the Report Type doesn’t support the columns
parameter, this will be null.).
id: ReportingReportTypeId
The ID of the Report Type, such as balance.summary.1
.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
name: String
Human-readable name of the Report Type
updated: Timestamp
When this Report Type was latest updated. Measured in seconds since the Unix epoch.
version: i64
Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas.
Trait Implementations§
Source§impl Clone for ReportingReportType
impl Clone for ReportingReportType
Source§fn clone(&self) -> ReportingReportType
fn clone(&self) -> ReportingReportType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more