pub struct ReportingApiEndpointBuilder { /* private fields */ }Expand description
Builder for ReportingApiEndpoint.
Implementations§
Source§impl ReportingApiEndpointBuilder
impl ReportingApiEndpointBuilder
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The URL of the endpoint to which reports may be delivered.
Sourcepub fn group_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn group_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Name of the endpoint group.
Sourcepub fn build(
&self,
) -> Result<ReportingApiEndpoint, ReportingApiEndpointBuilderError>
pub fn build( &self, ) -> Result<ReportingApiEndpoint, ReportingApiEndpointBuilderError>
Trait Implementations§
Source§impl Clone for ReportingApiEndpointBuilder
impl Clone for ReportingApiEndpointBuilder
Source§fn clone(&self) -> ReportingApiEndpointBuilder
fn clone(&self) -> ReportingApiEndpointBuilder
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 ReportingApiEndpointBuilder
impl RefUnwindSafe for ReportingApiEndpointBuilder
impl Send for ReportingApiEndpointBuilder
impl Sync for ReportingApiEndpointBuilder
impl Unpin for ReportingApiEndpointBuilder
impl UnsafeUnpin for ReportingApiEndpointBuilder
impl UnwindSafe for ReportingApiEndpointBuilder
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