#[non_exhaustive]
pub enum Location {
Aws(AwsRegion),
Azure(AzureRegion),
Gcp(GcpRegion),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Locationwhere
Self: FromStr,
<Self as FromStr>::Err: Display,
impl<'de> Deserialize<'de> for Locationwhere Self: FromStr, <Self as FromStr>::Err: Display,
source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AzureRegion> for Location
impl From<AzureRegion> for Location
source§fn from(region: AzureRegion) -> Self
fn from(region: AzureRegion) -> Self
Converts to this type from the input type.