[][src]Struct rusoto_clouddirectory::CreateFacetRequest

pub struct CreateFacetRequest {
    pub attributes: Option<Vec<FacetAttribute>>,
    pub facet_style: Option<String>,
    pub name: String,
    pub object_type: Option<String>,
    pub schema_arn: String,
}

Fields

attributes: Option<Vec<FacetAttribute>>

The attributes that are associated with the Facet.

facet_style: Option<String>

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.

name: String

The name of the Facet, which is unique for a given schema.

object_type: Option<String>

Specifies whether a given object created from this facet is of type node, leaf node, policy or index.

  • Node: Can have multiple children but one parent.

  • Leaf node: Cannot have children but can have multiple parents.

  • Policy: Allows you to store a policy document and policy type. For more information, see Policies.

  • Index: Can be created with the Index API.

schema_arn: String

The schema ARN in which the new Facet will be created. For more information, see arns.

Trait Implementations

impl Clone for CreateFacetRequest[src]

impl Debug for CreateFacetRequest[src]

impl Default for CreateFacetRequest[src]

impl PartialEq<CreateFacetRequest> for CreateFacetRequest[src]

impl Serialize for CreateFacetRequest[src]

impl StructuralPartialEq for CreateFacetRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.