pub struct AwsSecretManagerSourceOptions {
pub account_id: String,
pub region: Option<Region>,
pub read_metadata: bool,
}Fields§
§account_id: String§region: Option<Region>§read_metadata: boolImplementations§
Source§impl AwsSecretManagerSourceOptions
impl AwsSecretManagerSourceOptions
pub fn new(account_id: String) -> Self
pub fn account_id(&mut self, value: String) -> &mut Self
pub fn with_account_id(self, value: String) -> Self
pub fn region(&mut self, value: Region) -> &mut Self
pub fn reset_region(&mut self) -> &mut Self
pub fn mopt_region(&mut self, value: Option<Region>) -> &mut Self
pub fn with_region(self, value: Region) -> Self
pub fn without_region(self) -> Self
pub fn opt_region(self, value: Option<Region>) -> Self
pub fn read_metadata(&mut self, value: bool) -> &mut Self
pub fn with_read_metadata(self, value: bool) -> Self
Trait Implementations§
Source§impl Clone for AwsSecretManagerSourceOptions
impl Clone for AwsSecretManagerSourceOptions
Source§fn clone(&self) -> AwsSecretManagerSourceOptions
fn clone(&self) -> AwsSecretManagerSourceOptions
Returns a duplicate 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 moreSource§impl From<AwsSecretManagerSourceOptionsInit> for AwsSecretManagerSourceOptions
impl From<AwsSecretManagerSourceOptionsInit> for AwsSecretManagerSourceOptions
Source§fn from(value: AwsSecretManagerSourceOptionsInit) -> Self
fn from(value: AwsSecretManagerSourceOptionsInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AwsSecretManagerSourceOptions
impl PartialEq for AwsSecretManagerSourceOptions
Source§fn eq(&self, other: &AwsSecretManagerSourceOptions) -> bool
fn eq(&self, other: &AwsSecretManagerSourceOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AwsSecretManagerSourceOptions
impl StructuralPartialEq for AwsSecretManagerSourceOptions
Auto Trait Implementations§
impl Freeze for AwsSecretManagerSourceOptions
impl RefUnwindSafe for AwsSecretManagerSourceOptions
impl Send for AwsSecretManagerSourceOptions
impl Sync for AwsSecretManagerSourceOptions
impl Unpin for AwsSecretManagerSourceOptions
impl UnwindSafe for AwsSecretManagerSourceOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestCreates a shared type from an unshared type.