Struct remoteit_api::credentials::CredentialsBuilder
source · pub struct CredentialsBuilder<__State: __CredentialsBuilderState = (Required<String>, Required<String>)> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build()
.
Implementations§
source§impl<__State: __CredentialsBuilderState> CredentialsBuilder<__State>
impl<__State: __CredentialsBuilderState> CredentialsBuilder<__State>
sourcepub fn build(self) -> Result<Credentials, DecodeError>
pub fn build(self) -> Result<Credentials, DecodeError>
Finishes building and performs the requested action.
source§impl<__State: __CredentialsBuilderState<R3AccessKeyId = Required<String>>> CredentialsBuilder<__State>
impl<__State: __CredentialsBuilderState<R3AccessKeyId = Required<String>>> CredentialsBuilder<__State>
sourcepub fn r3_access_key_id(
self,
value: impl Into<String>,
) -> __CredentialsBuilderSetR3AccessKeyId<__State>
pub fn r3_access_key_id( self, value: impl Into<String>, ) -> __CredentialsBuilderSetR3AccessKeyId<__State>
Sets the value of r3_access_key_id
. See Credentials::builder()
for more info.
source§impl<__State: __CredentialsBuilderState<R3SecretAccessKey = Required<String>>> CredentialsBuilder<__State>
impl<__State: __CredentialsBuilderState<R3SecretAccessKey = Required<String>>> CredentialsBuilder<__State>
sourcepub fn r3_secret_access_key(
self,
value: impl Into<String>,
) -> __CredentialsBuilderSetR3SecretAccessKey<__State>
pub fn r3_secret_access_key( self, value: impl Into<String>, ) -> __CredentialsBuilderSetR3SecretAccessKey<__State>
Sets the value of r3_secret_access_key
. See Credentials::builder()
for more info.
Auto Trait Implementations§
impl<__State> Freeze for CredentialsBuilder<__State>
impl<__State> RefUnwindSafe for CredentialsBuilder<__State>where
<__State as __CredentialsBuilderState>::R3AccessKeyId: RefUnwindSafe,
<__State as __CredentialsBuilderState>::R3SecretAccessKey: RefUnwindSafe,
__State: RefUnwindSafe,
impl<__State> Send for CredentialsBuilder<__State>
impl<__State> Sync for CredentialsBuilder<__State>
impl<__State> Unpin for CredentialsBuilder<__State>
impl<__State> UnwindSafe for CredentialsBuilder<__State>where
<__State as __CredentialsBuilderState>::R3AccessKeyId: UnwindSafe,
<__State as __CredentialsBuilderState>::R3SecretAccessKey: UnwindSafe,
__State: UnwindSafe,
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