pub struct ReportingApiReport {
pub id: ReportId,
pub initiatorUrl: String,
pub destination: String,
pub type_: String,
pub timestamp: TimeSinceEpoch,
pub depth: i64,
pub completedAttempts: i64,
pub body: Map<String, Value>,
pub status: ReportStatus,
}Expand description
An object representing a report generated by the Reporting API.
Fields§
§id: ReportId§initiatorUrl: StringThe URL of the document that triggered the report.
destination: StringThe name of the endpoint group that should be used to deliver the report.
type_: StringThe type of the report (specifies the set of data that is contained in the report body).
timestamp: TimeSinceEpochWhen the report was generated.
depth: i64How many uploads deep the related request was.
completedAttempts: i64The number of delivery attempts made so far, not including an active attempt.
body: Map<String, Value>§status: ReportStatusTrait Implementations§
Source§impl Clone for ReportingApiReport
impl Clone for ReportingApiReport
Source§fn clone(&self) -> ReportingApiReport
fn clone(&self) -> ReportingApiReport
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 ReportingApiReport
impl Debug for ReportingApiReport
Source§impl Default for ReportingApiReport
impl Default for ReportingApiReport
Source§fn default() -> ReportingApiReport
fn default() -> ReportingApiReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReportingApiReport
impl<'de> Deserialize<'de> for ReportingApiReport
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 ReportingApiReport
impl RefUnwindSafe for ReportingApiReport
impl Send for ReportingApiReport
impl Sync for ReportingApiReport
impl Unpin for ReportingApiReport
impl UnsafeUnpin for ReportingApiReport
impl UnwindSafe for ReportingApiReport
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