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