pub struct ResourceSchemaMetadata {
pub type_name: String,
pub property_types: BTreeMap<String, BTreeSet<PropertyValueType>>,
pub required_properties: BTreeSet<String>,
pub read_only_properties: BTreeSet<String>,
pub primary_identifier_properties: BTreeSet<String>,
}Expand description
Schema information needed to map an AWS CLI command into one resource.
This is intentionally narrower than the validator’s compiled schema model: callers can select and type-check resource properties without depending on validation implementation details.
Fields§
§type_name: String§property_types: BTreeMap<String, BTreeSet<PropertyValueType>>§required_properties: BTreeSet<String>§read_only_properties: BTreeSet<String>§primary_identifier_properties: BTreeSet<String>Trait Implementations§
Source§impl Clone for ResourceSchemaMetadata
impl Clone for ResourceSchemaMetadata
Source§impl Debug for ResourceSchemaMetadata
impl Debug for ResourceSchemaMetadata
impl Eq for ResourceSchemaMetadata
Source§impl PartialEq for ResourceSchemaMetadata
impl PartialEq for ResourceSchemaMetadata
impl StructuralPartialEq for ResourceSchemaMetadata
Auto Trait Implementations§
impl Freeze for ResourceSchemaMetadata
impl RefUnwindSafe for ResourceSchemaMetadata
impl Send for ResourceSchemaMetadata
impl Sync for ResourceSchemaMetadata
impl Unpin for ResourceSchemaMetadata
impl UnsafeUnpin for ResourceSchemaMetadata
impl UnwindSafe for ResourceSchemaMetadata
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.