Struct aws_sdk_clouddirectory::model::Facet
source · [−]#[non_exhaustive]pub struct Facet {
pub name: Option<String>,
pub object_type: Option<ObjectType>,
pub facet_style: Option<FacetStyle>,
}
Expand description
A structure that contains Name
, ARN
, Attributes
,
, and Rule
sObjectTypes
. See Facets for more information.
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.name: Option<String>
The name of the Facet
.
object_type: Option<ObjectType>
The object type that is associated with the facet. See CreateFacetRequest$ObjectType
for more details.
facet_style: Option<FacetStyle>
There are two different styles that you can define on any given facet, Static
and Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.
Implementations
sourceimpl Facet
impl Facet
sourcepub fn object_type(&self) -> Option<&ObjectType>
pub fn object_type(&self) -> Option<&ObjectType>
The object type that is associated with the facet. See CreateFacetRequest$ObjectType
for more details.
sourcepub fn facet_style(&self) -> Option<&FacetStyle>
pub fn facet_style(&self) -> Option<&FacetStyle>
There are two different styles that you can define on any given facet, Static
and Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.
Trait Implementations
impl StructuralPartialEq for Facet
Auto Trait Implementations
impl RefUnwindSafe for Facet
impl Send for Facet
impl Sync for Facet
impl Unpin for Facet
impl UnwindSafe for Facet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more