Enum azure_mgmt_resources::package_subscriptions_2021_01::models::location_metadata::RegionType
source · pub enum RegionType {
Physical,
Logical,
UnknownValue(String),
}
Expand description
The type of the region.
Variants§
Implementations§
source§impl RegionType
impl RegionType
pub fn serialize<__S>(
__self: &RegionType,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> RegionType
impl<'de> RegionType
pub fn deserialize<__D>(__deserializer: __D) -> Result<RegionType, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for RegionType
impl Clone for RegionType
source§fn clone(&self) -> RegionType
fn clone(&self) -> RegionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RegionType
impl Debug for RegionType
source§impl<'de> Deserialize<'de> for RegionType
impl<'de> Deserialize<'de> for RegionType
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 FromStr for RegionType
impl FromStr for RegionType
source§impl PartialEq for RegionType
impl PartialEq for RegionType
source§fn eq(&self, other: &RegionType) -> bool
fn eq(&self, other: &RegionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RegionType
impl Serialize for RegionType
impl StructuralPartialEq for RegionType
Auto Trait Implementations§
impl Freeze for RegionType
impl RefUnwindSafe for RegionType
impl Send for RegionType
impl Sync for RegionType
impl Unpin for RegionType
impl UnwindSafe for RegionType
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