pub struct AwsKmsKeyRef {
pub account_id: String,
pub key_id: String,
pub aws_region: Option<Region>,
}Fields§
§account_id: String§key_id: String§aws_region: Option<Region>Implementations§
Source§impl AwsKmsKeyRef
impl AwsKmsKeyRef
pub fn new(account_id: String, key_id: String) -> Self
pub fn account_id(&mut self, value: String) -> &mut Self
pub fn with_account_id(self, value: String) -> Self
pub fn key_id(&mut self, value: String) -> &mut Self
pub fn with_key_id(self, value: String) -> Self
pub fn aws_region(&mut self, value: Region) -> &mut Self
pub fn reset_aws_region(&mut self) -> &mut Self
pub fn mopt_aws_region(&mut self, value: Option<Region>) -> &mut Self
pub fn with_aws_region(self, value: Region) -> Self
pub fn without_aws_region(self) -> Self
pub fn opt_aws_region(self, value: Option<Region>) -> Self
Source§impl AwsKmsKeyRef
impl AwsKmsKeyRef
pub fn to_key_arn(&self) -> String
Trait Implementations§
Source§impl Clone for AwsKmsKeyRef
impl Clone for AwsKmsKeyRef
Source§fn clone(&self) -> AwsKmsKeyRef
fn clone(&self) -> AwsKmsKeyRef
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 Debug for AwsKmsKeyRef
impl Debug for AwsKmsKeyRef
Source§impl From<AwsKmsKeyRefInit> for AwsKmsKeyRef
impl From<AwsKmsKeyRefInit> for AwsKmsKeyRef
Source§fn from(value: AwsKmsKeyRefInit) -> Self
fn from(value: AwsKmsKeyRefInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AwsKmsKeyRef
impl PartialEq for AwsKmsKeyRef
impl Eq for AwsKmsKeyRef
impl StructuralPartialEq for AwsKmsKeyRef
Auto Trait Implementations§
impl Freeze for AwsKmsKeyRef
impl RefUnwindSafe for AwsKmsKeyRef
impl Send for AwsKmsKeyRef
impl Sync for AwsKmsKeyRef
impl Unpin for AwsKmsKeyRef
impl UnwindSafe for AwsKmsKeyRef
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.