pub struct EnableReportingApiBuilder { /* private fields */ }Expand description
Builder for EnableReportingApi.
Implementations§
Source§impl EnableReportingApiBuilder
impl EnableReportingApiBuilder
Sourcepub fn enable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn enable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether to enable or disable events for the Reporting API
Sourcepub fn build(
&self,
) -> Result<EnableReportingApi, EnableReportingApiBuilderError>
pub fn build( &self, ) -> Result<EnableReportingApi, EnableReportingApiBuilderError>
Trait Implementations§
Source§impl Clone for EnableReportingApiBuilder
impl Clone for EnableReportingApiBuilder
Source§fn clone(&self) -> EnableReportingApiBuilder
fn clone(&self) -> EnableReportingApiBuilder
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 moreAuto Trait Implementations§
impl Freeze for EnableReportingApiBuilder
impl RefUnwindSafe for EnableReportingApiBuilder
impl Send for EnableReportingApiBuilder
impl Sync for EnableReportingApiBuilder
impl Unpin for EnableReportingApiBuilder
impl UnsafeUnpin for EnableReportingApiBuilder
impl UnwindSafe for EnableReportingApiBuilder
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