Struct rivet_identity::config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
Builder for creating a Config
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_bearer_token(self, bearer_token: impl Display) -> Self
pub fn set_bearer_token(self, bearer_token: impl Display) -> Self
Sets the bearer token to be used with the Smithy client.
sourcepub fn set_uri(self, uri: impl ToString) -> Self
pub fn set_uri(self, uri: impl ToString) -> Self
Sets the base URI to be used with the Smithy client.
sourcepub fn build_client(self) -> ClientWrapper
pub fn build_client(self) -> ClientWrapper
Builds a default [Client
] from the given config.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more