Struct aws_sdk_cloudfront::types::PublicKeyConfig
source · #[non_exhaustive]pub struct PublicKeyConfig {
pub caller_reference: String,
pub name: String,
pub encoded_key: String,
pub comment: Option<String>,
}
Expand description
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.caller_reference: String
A string included in the request to help make sure that the request can't be replayed.
name: String
A name to help identify the public key.
encoded_key: String
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
comment: Option<String>
A comment to describe the public key. The comment cannot be longer than 128 characters.
Implementations§
source§impl PublicKeyConfig
impl PublicKeyConfig
sourcepub fn caller_reference(&self) -> &str
pub fn caller_reference(&self) -> &str
A string included in the request to help make sure that the request can't be replayed.
sourcepub fn encoded_key(&self) -> &str
pub fn encoded_key(&self) -> &str
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
source§impl PublicKeyConfig
impl PublicKeyConfig
sourcepub fn builder() -> PublicKeyConfigBuilder
pub fn builder() -> PublicKeyConfigBuilder
Creates a new builder-style object to manufacture PublicKeyConfig
.
Trait Implementations§
source§impl Clone for PublicKeyConfig
impl Clone for PublicKeyConfig
source§fn clone(&self) -> PublicKeyConfig
fn clone(&self) -> PublicKeyConfig
Returns a copy 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 PublicKeyConfig
impl Debug for PublicKeyConfig
source§impl PartialEq for PublicKeyConfig
impl PartialEq for PublicKeyConfig
source§fn eq(&self, other: &PublicKeyConfig) -> bool
fn eq(&self, other: &PublicKeyConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PublicKeyConfig
Auto Trait Implementations§
impl Freeze for PublicKeyConfig
impl RefUnwindSafe for PublicKeyConfig
impl Send for PublicKeyConfig
impl Sync for PublicKeyConfig
impl Unpin for PublicKeyConfig
impl UnwindSafe for PublicKeyConfig
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> 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 moreCreates a shared type from an unshared type.