Struct aws_sdk_customerprofiles::types::ObjectFilter
source · #[non_exhaustive]pub struct ObjectFilter {
pub key_name: String,
pub values: Vec<String>,
}
Expand description
The filter applied to ListProfileObjects
response to include profile objects with the specified index values.
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.key_name: String
A searchable identifier of a profile object. The predefined keys you can use to search for _asset
include: _assetId
, _assetName
, and _serialNumber
. The predefined keys you can use to search for _case
include: _caseId
. The predefined keys you can use to search for _order
include: _orderId
.
values: Vec<String>
A list of key values.
Implementations§
source§impl ObjectFilter
impl ObjectFilter
sourcepub fn key_name(&self) -> &str
pub fn key_name(&self) -> &str
A searchable identifier of a profile object. The predefined keys you can use to search for _asset
include: _assetId
, _assetName
, and _serialNumber
. The predefined keys you can use to search for _case
include: _caseId
. The predefined keys you can use to search for _order
include: _orderId
.
source§impl ObjectFilter
impl ObjectFilter
sourcepub fn builder() -> ObjectFilterBuilder
pub fn builder() -> ObjectFilterBuilder
Creates a new builder-style object to manufacture ObjectFilter
.
Trait Implementations§
source§impl Clone for ObjectFilter
impl Clone for ObjectFilter
source§fn clone(&self) -> ObjectFilter
fn clone(&self) -> ObjectFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ObjectFilter
impl Debug for ObjectFilter
source§impl PartialEq for ObjectFilter
impl PartialEq for ObjectFilter
source§fn eq(&self, other: &ObjectFilter) -> bool
fn eq(&self, other: &ObjectFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectFilter
Auto Trait Implementations§
impl Freeze for ObjectFilter
impl RefUnwindSafe for ObjectFilter
impl Send for ObjectFilter
impl Sync for ObjectFilter
impl Unpin for ObjectFilter
impl UnwindSafe for ObjectFilter
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