pub struct AzurePlatformPermission {
pub binding: BindingConfigurationAzureBindingSpec,
pub grant: PermissionGrant,
}Expand description
Azure-specific platform permission configuration
JSON schema
{
"description": "Azure-specific platform permission configuration",
"type": "object",
"required": [
"binding",
"grant"
],
"properties": {
"binding": {
"description": "How to bind the permissions (stack vs resource scope)",
"allOf": [
{
"$ref": "#/components/schemas/BindingConfiguration_AzureBindingSpec"
}
]
},
"grant": {
"description": "What permissions to grant",
"allOf": [
{
"$ref": "#/components/schemas/PermissionGrant"
}
]
}
},
"additionalProperties": false
}Fields§
§binding: BindingConfigurationAzureBindingSpecHow to bind the permissions (stack vs resource scope)
grant: PermissionGrantWhat permissions to grant
Implementations§
Source§impl AzurePlatformPermission
impl AzurePlatformPermission
pub fn builder() -> AzurePlatformPermission
Trait Implementations§
Source§impl Clone for AzurePlatformPermission
impl Clone for AzurePlatformPermission
Source§fn clone(&self) -> AzurePlatformPermission
fn clone(&self) -> AzurePlatformPermission
Returns a duplicate 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 AzurePlatformPermission
impl Debug for AzurePlatformPermission
Source§impl<'de> Deserialize<'de> for AzurePlatformPermission
impl<'de> Deserialize<'de> for AzurePlatformPermission
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<&AzurePlatformPermission> for AzurePlatformPermission
impl From<&AzurePlatformPermission> for AzurePlatformPermission
Source§fn from(value: &AzurePlatformPermission) -> Self
fn from(value: &AzurePlatformPermission) -> Self
Converts to this type from the input type.
Source§impl From<AzurePlatformPermission> for AzurePlatformPermission
impl From<AzurePlatformPermission> for AzurePlatformPermission
Source§fn from(value: AzurePlatformPermission) -> Self
fn from(value: AzurePlatformPermission) -> Self
Converts to this type from the input type.
Source§impl Serialize for AzurePlatformPermission
impl Serialize for AzurePlatformPermission
Source§impl TryFrom<AzurePlatformPermission> for AzurePlatformPermission
impl TryFrom<AzurePlatformPermission> for AzurePlatformPermission
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AzurePlatformPermission) -> Result<Self, ConversionError>
fn try_from(value: AzurePlatformPermission) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AzurePlatformPermission
impl RefUnwindSafe for AzurePlatformPermission
impl Send for AzurePlatformPermission
impl Sync for AzurePlatformPermission
impl Unpin for AzurePlatformPermission
impl UnsafeUnpin for AzurePlatformPermission
impl UnwindSafe for AzurePlatformPermission
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