pub struct RegionEnumStore { /* private fields */ }Implementations§
Source§impl RegionEnumStore
impl RegionEnumStore
Sourcepub fn get(
&self,
resource_type: &str,
prop_name: &str,
region: &str,
) -> Option<&[String]>
pub fn get( &self, resource_type: &str, prop_name: &str, region: &str, ) -> Option<&[String]>
Key format: “AWS::EC2::Instance::InstanceType”
Sourcepub fn allowed_values(
&self,
resource_type: &str,
prop_name: &str,
region: Option<&str>,
) -> Option<Vec<&str>>
pub fn allowed_values( &self, resource_type: &str, prop_name: &str, region: Option<&str>, ) -> Option<Vec<&str>>
Allowed values for a property in the effective scope: the single region
when configured, or the union across all AWS regions when not (None) - so
with no region a value is accepted when it is valid in any region. Returns
None when the property has no regional override, or when a configured
region has no entry, so the caller falls back to the region-agnostic enum.
pub fn has_data(&self) -> bool
Auto Trait Implementations§
impl Freeze for RegionEnumStore
impl RefUnwindSafe for RegionEnumStore
impl Send for RegionEnumStore
impl Sync for RegionEnumStore
impl Unpin for RegionEnumStore
impl UnsafeUnpin for RegionEnumStore
impl UnwindSafe for RegionEnumStore
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