pub struct ReportingApiReportBuilder { /* private fields */ }Implementations§
Source§impl ReportingApiReportBuilder
impl ReportingApiReportBuilder
pub fn id(self, id: impl Into<ReportId>) -> Self
pub fn initiator_url(self, initiator_url: impl Into<String>) -> Self
pub fn destination(self, destination: impl Into<String>) -> Self
pub fn type(self, type: impl Into<String>) -> Self
pub fn timestamp(self, timestamp: impl Into<TimeSinceEpoch>) -> Self
pub fn depth(self, depth: impl Into<i64>) -> Self
pub fn completed_attempts(self, completed_attempts: impl Into<i64>) -> Self
pub fn body(self, body: impl Into<Value>) -> Self
pub fn status(self, status: impl Into<ReportStatus>) -> Self
pub fn build(self) -> Result<ReportingApiReport, String>
Trait Implementations§
Source§impl Clone for ReportingApiReportBuilder
impl Clone for ReportingApiReportBuilder
Source§fn clone(&self) -> ReportingApiReportBuilder
fn clone(&self) -> ReportingApiReportBuilder
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 Default for ReportingApiReportBuilder
impl Default for ReportingApiReportBuilder
Source§fn default() -> ReportingApiReportBuilder
fn default() -> ReportingApiReportBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReportingApiReportBuilder
impl RefUnwindSafe for ReportingApiReportBuilder
impl Send for ReportingApiReportBuilder
impl Sync for ReportingApiReportBuilder
impl Unpin for ReportingApiReportBuilder
impl UnwindSafe for ReportingApiReportBuilder
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