pub struct KeygenClientBuilder { /* private fields */ }Implementations§
Source§impl KeygenClientBuilder
impl KeygenClientBuilder
pub fn account(self, account: impl Into<String>) -> Self
pub fn api_url(self, api_url: impl Into<String>) -> Self
pub fn api_contract_version(self, api_version: ApiContractVersion) -> Self
pub fn api_prefix(self, api_prefix: impl Into<String>) -> Self
pub fn environment(self, environment: impl Into<String>) -> Self
pub fn user_agent(self, user_agent: impl Into<String>) -> Self
pub fn product(self, product: impl Into<String>) -> Self
pub fn package(self, package: impl Into<String>) -> Self
pub fn license_key(self, license_key: impl Into<String>) -> Self
pub fn public_key(self, public_key: impl Into<String>) -> Self
pub fn platform(self, platform: impl Into<String>) -> Self
pub fn max_clock_drift(self, max_clock_drift: i64) -> Self
pub fn verify_keygen_signature(self, verify: bool) -> Self
pub fn build(self) -> Result<KeygenClient, Error>
Trait Implementations§
Source§impl Clone for KeygenClientBuilder
impl Clone for KeygenClientBuilder
Source§fn clone(&self) -> KeygenClientBuilder
fn clone(&self) -> KeygenClientBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeygenClientBuilder
impl Debug for KeygenClientBuilder
Source§impl Default for KeygenClientBuilder
impl Default for KeygenClientBuilder
Source§fn default() -> KeygenClientBuilder
fn default() -> KeygenClientBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KeygenClientBuilder
impl RefUnwindSafe for KeygenClientBuilder
impl Send for KeygenClientBuilder
impl Sync for KeygenClientBuilder
impl Unpin for KeygenClientBuilder
impl UnsafeUnpin for KeygenClientBuilder
impl UnwindSafe for KeygenClientBuilder
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