Struct aws_sdk_cloudformation::types::TypeFilters
source · #[non_exhaustive]pub struct TypeFilters {
pub category: Option<Category>,
pub publisher_id: Option<String>,
pub type_name_prefix: Option<String>,
}
Expand description
Filter criteria to use in determining which extensions to return.
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.category: Option<Category>
The category of extensions to return.
-
REGISTERED
: Private extensions that have been registered for this account and Region. -
ACTIVATED
: Public extensions that have been activated for this account and Region. -
THIRD_PARTY
: Extensions available for use from publishers other than Amazon. This includes:-
Private extensions registered in the account.
-
Public extensions from publishers other than Amazon, whether activated or not.
-
-
AWS_TYPES
: Extensions available for use from Amazon.
publisher_id: Option<String>
The id of the publisher of the extension.
Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES
category to specify a list of types published by Amazon.
type_name_prefix: Option<String>
A prefix to use as a filter for results.
Implementations§
source§impl TypeFilters
impl TypeFilters
sourcepub fn category(&self) -> Option<&Category>
pub fn category(&self) -> Option<&Category>
The category of extensions to return.
-
REGISTERED
: Private extensions that have been registered for this account and Region. -
ACTIVATED
: Public extensions that have been activated for this account and Region. -
THIRD_PARTY
: Extensions available for use from publishers other than Amazon. This includes:-
Private extensions registered in the account.
-
Public extensions from publishers other than Amazon, whether activated or not.
-
-
AWS_TYPES
: Extensions available for use from Amazon.
sourcepub fn publisher_id(&self) -> Option<&str>
pub fn publisher_id(&self) -> Option<&str>
The id of the publisher of the extension.
Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES
category to specify a list of types published by Amazon.
sourcepub fn type_name_prefix(&self) -> Option<&str>
pub fn type_name_prefix(&self) -> Option<&str>
A prefix to use as a filter for results.
source§impl TypeFilters
impl TypeFilters
sourcepub fn builder() -> TypeFiltersBuilder
pub fn builder() -> TypeFiltersBuilder
Creates a new builder-style object to manufacture TypeFilters
.
Trait Implementations§
source§impl Clone for TypeFilters
impl Clone for TypeFilters
source§fn clone(&self) -> TypeFilters
fn clone(&self) -> TypeFilters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TypeFilters
impl Debug for TypeFilters
source§impl PartialEq for TypeFilters
impl PartialEq for TypeFilters
source§fn eq(&self, other: &TypeFilters) -> bool
fn eq(&self, other: &TypeFilters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TypeFilters
Auto Trait Implementations§
impl Freeze for TypeFilters
impl RefUnwindSafe for TypeFilters
impl Send for TypeFilters
impl Sync for TypeFilters
impl Unpin for TypeFilters
impl UnwindSafe for TypeFilters
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