pub struct DakeraClientBuilder { /* private fields */ }Expand description
Builder for DakeraClient
Implementations§
Source§impl DakeraClientBuilder
impl DakeraClientBuilder
Sourcepub fn timeout_secs(self, secs: u64) -> Self
pub fn timeout_secs(self, secs: u64) -> Self
Set the request timeout in seconds
Sourcepub fn user_agent(self, user_agent: impl Into<String>) -> Self
pub fn user_agent(self, user_agent: impl Into<String>) -> Self
Set a custom user agent
Sourcepub fn build(self) -> Result<DakeraClient>
pub fn build(self) -> Result<DakeraClient>
Build the client
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DakeraClientBuilder
impl RefUnwindSafe for DakeraClientBuilder
impl Send for DakeraClientBuilder
impl Sync for DakeraClientBuilder
impl Unpin for DakeraClientBuilder
impl UnsafeUnpin for DakeraClientBuilder
impl UnwindSafe for DakeraClientBuilder
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