pub struct ReportingApiReport<'a> { /* private fields */ }Expand description
An object representing a report generated by the Reporting API.
Implementations§
Source§impl<'a> ReportingApiReport<'a>
impl<'a> ReportingApiReport<'a>
pub fn builder( id: ReportId<'a>, initiatorUrl: impl Into<Cow<'a, str>>, destination: impl Into<Cow<'a, str>>, type_: impl Into<Cow<'a, str>>, timestamp: TimeSinceEpoch, depth: i64, completedAttempts: i64, body: Map<String, JsonValue>, status: ReportStatus, ) -> ReportingApiReportBuilder<'a>
pub fn id(&self) -> &ReportId<'a>
pub fn initiatorUrl(&self) -> &str
pub fn destination(&self) -> &str
pub fn type_(&self) -> &str
pub fn timestamp(&self) -> &TimeSinceEpoch
pub fn depth(&self) -> i64
pub fn completedAttempts(&self) -> i64
pub fn body(&self) -> &Map<String, JsonValue>
pub fn status(&self) -> &ReportStatus
Trait Implementations§
Source§impl<'a> Clone for ReportingApiReport<'a>
impl<'a> Clone for ReportingApiReport<'a>
Source§fn clone(&self) -> ReportingApiReport<'a>
fn clone(&self) -> ReportingApiReport<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ReportingApiReport<'a>
impl<'a> Debug for ReportingApiReport<'a>
Source§impl<'a> Default for ReportingApiReport<'a>
impl<'a> Default for ReportingApiReport<'a>
Source§fn default() -> ReportingApiReport<'a>
fn default() -> ReportingApiReport<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for ReportingApiReport<'a>
impl<'de, 'a> Deserialize<'de> for ReportingApiReport<'a>
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<'a> Freeze for ReportingApiReport<'a>
impl<'a> RefUnwindSafe for ReportingApiReport<'a>
impl<'a> Send for ReportingApiReport<'a>
impl<'a> Sync for ReportingApiReport<'a>
impl<'a> Unpin for ReportingApiReport<'a>
impl<'a> UnsafeUnpin for ReportingApiReport<'a>
impl<'a> UnwindSafe for ReportingApiReport<'a>
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