pub struct ReportBase {
pub id: PaddleID,
pub type: String,
pub filters: Vec<Value>,
pub status: ReportStatus,
pub rows: Option<i64>,
pub expires_at: Option<DateTime<Utc>>,
pub updated_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
}
Expand description
Represents a report entity.
Fields§
§id: PaddleID
Unique Paddle ID for this entity.
type: String
§filters: Vec<Value>
§status: ReportStatus
Status of this report. Set automatically by Paddle.
Reports are created as pending
initially, then move to ready
when they’re available to download.
rows: Option<i64>
Number of records in this report. null
if the report is pending
.
expires_at: Option<DateTime<Utc>>
RFC 3339 datetime string of when this report expires. The report is no longer available to download after this date.
updated_at: DateTime<Utc>
RFC 3339 datetime string of when this entity was updated. Set automatically by Paddle.
created_at: DateTime<Utc>
RFC 3339 datetime string of when this entity was created. Set automatically by Paddle.
Trait Implementations§
Source§impl Clone for ReportBase
impl Clone for ReportBase
Source§fn clone(&self) -> ReportBase
fn clone(&self) -> ReportBase
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 ReportBase
impl Debug for ReportBase
Source§impl<'de> Deserialize<'de> for ReportBase
impl<'de> Deserialize<'de> for ReportBase
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 ReportBase
impl RefUnwindSafe for ReportBase
impl Send for ReportBase
impl Sync for ReportBase
impl Unpin for ReportBase
impl UnwindSafe for ReportBase
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