Struct aws_sdk_cloudfront::types::ActiveTrustedSigners
source · #[non_exhaustive]pub struct ActiveTrustedSigners {
pub enabled: bool,
pub quantity: i32,
pub items: Option<Vec<Signer>>,
}
Expand description
A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: bool
This field is true
if any of the Amazon Web Services accounts in the list are configured as trusted signers. If not, this field is false
.
quantity: i32
The number of Amazon Web Services accounts in the list.
items: Option<Vec<Signer>>
A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
Implementations§
source§impl ActiveTrustedSigners
impl ActiveTrustedSigners
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
This field is true
if any of the Amazon Web Services accounts in the list are configured as trusted signers. If not, this field is false
.
sourcepub fn items(&self) -> &[Signer]
pub fn items(&self) -> &[Signer]
A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .items.is_none()
.
source§impl ActiveTrustedSigners
impl ActiveTrustedSigners
sourcepub fn builder() -> ActiveTrustedSignersBuilder
pub fn builder() -> ActiveTrustedSignersBuilder
Creates a new builder-style object to manufacture ActiveTrustedSigners
.
Trait Implementations§
source§impl Clone for ActiveTrustedSigners
impl Clone for ActiveTrustedSigners
source§fn clone(&self) -> ActiveTrustedSigners
fn clone(&self) -> ActiveTrustedSigners
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActiveTrustedSigners
impl Debug for ActiveTrustedSigners
source§impl PartialEq for ActiveTrustedSigners
impl PartialEq for ActiveTrustedSigners
source§fn eq(&self, other: &ActiveTrustedSigners) -> bool
fn eq(&self, other: &ActiveTrustedSigners) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActiveTrustedSigners
Auto Trait Implementations§
impl Freeze for ActiveTrustedSigners
impl RefUnwindSafe for ActiveTrustedSigners
impl Send for ActiveTrustedSigners
impl Sync for ActiveTrustedSigners
impl Unpin for ActiveTrustedSigners
impl UnwindSafe for ActiveTrustedSigners
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
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>
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>
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 more