Enum azure_mgmt_resources::package_resources_2021_04::models::provider_permission::ProviderAuthorizationConsentState
source · pub enum ProviderAuthorizationConsentState {
NotSpecified,
Required,
NotRequired,
Consented,
UnknownValue(String),
}
Expand description
The provider authorization consent state.
Variants§
Implementations§
source§impl ProviderAuthorizationConsentState
impl ProviderAuthorizationConsentState
pub fn serialize<__S>(
__self: &ProviderAuthorizationConsentState,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> ProviderAuthorizationConsentState
impl<'de> ProviderAuthorizationConsentState
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ProviderAuthorizationConsentState, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for ProviderAuthorizationConsentState
impl Clone for ProviderAuthorizationConsentState
source§fn clone(&self) -> ProviderAuthorizationConsentState
fn clone(&self) -> ProviderAuthorizationConsentState
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<'de> Deserialize<'de> for ProviderAuthorizationConsentState
impl<'de> Deserialize<'de> for ProviderAuthorizationConsentState
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 PartialEq for ProviderAuthorizationConsentState
impl PartialEq for ProviderAuthorizationConsentState
source§fn eq(&self, other: &ProviderAuthorizationConsentState) -> bool
fn eq(&self, other: &ProviderAuthorizationConsentState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProviderAuthorizationConsentState
Auto Trait Implementations§
impl Freeze for ProviderAuthorizationConsentState
impl RefUnwindSafe for ProviderAuthorizationConsentState
impl Send for ProviderAuthorizationConsentState
impl Sync for ProviderAuthorizationConsentState
impl Unpin for ProviderAuthorizationConsentState
impl UnwindSafe for ProviderAuthorizationConsentState
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