pub struct ClientApplicationBuilder { /* private fields */ }
Expand description
Builder for ClientApplication
.
Implementations§
source§impl ClientApplicationBuilder
impl ClientApplicationBuilder
pub fn app_name(&mut self, value: String) -> &mut Self
pub fn connect_via(&mut self, value: Option<Vec<ConnectVia>>) -> &mut Self
pub fn environment(&mut self, value: Option<String>) -> &mut Self
pub fn instance_id(&mut self, value: Option<String>) -> &mut Self
pub fn interval(&mut self, value: u32) -> &mut Self
pub fn sdk_version(&mut self, value: Option<String>) -> &mut Self
pub fn started(&mut self, value: DateTime<Utc>) -> &mut Self
pub fn strategies(&mut self, value: Vec<String>) -> &mut Self
sourcepub fn build(&self) -> Result<ClientApplication, ClientApplicationBuilderError>
pub fn build(&self) -> Result<ClientApplication, ClientApplicationBuilderError>
Trait Implementations§
source§impl Clone for ClientApplicationBuilder
impl Clone for ClientApplicationBuilder
source§fn clone(&self) -> ClientApplicationBuilder
fn clone(&self) -> ClientApplicationBuilder
Returns a copy 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 ClientApplicationBuilder
impl RefUnwindSafe for ClientApplicationBuilder
impl Send for ClientApplicationBuilder
impl Sync for ClientApplicationBuilder
impl Unpin for ClientApplicationBuilder
impl UnwindSafe for ClientApplicationBuilder
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