pub struct PermissionGrant {
pub actions: Option<Vec<String>>,
pub data_actions: Option<Vec<String>>,
pub permissions: Option<Vec<String>>,
}Expand description
Grant permissions for a specific cloud platform
JSON schema
{
"description": "Grant permissions for a specific cloud platform",
"type": "object",
"properties": {
"actions": {
"description": "AWS IAM actions (only for AWS)",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"dataActions": {
"description": "Azure actions (only for Azure)",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"permissions": {
"description": "GCP permissions (only for GCP)",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}Fields§
§actions: Option<Vec<String>>AWS IAM actions (only for AWS)
data_actions: Option<Vec<String>>Azure actions (only for Azure)
permissions: Option<Vec<String>>GCP permissions (only for GCP)
Implementations§
Source§impl PermissionGrant
impl PermissionGrant
pub fn builder() -> PermissionGrant
Trait Implementations§
Source§impl Clone for PermissionGrant
impl Clone for PermissionGrant
Source§fn clone(&self) -> PermissionGrant
fn clone(&self) -> PermissionGrant
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 PermissionGrant
impl Debug for PermissionGrant
Source§impl Default for PermissionGrant
impl Default for PermissionGrant
Source§impl<'de> Deserialize<'de> for PermissionGrant
impl<'de> Deserialize<'de> for PermissionGrant
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<&PermissionGrant> for PermissionGrant
impl From<&PermissionGrant> for PermissionGrant
Source§fn from(value: &PermissionGrant) -> Self
fn from(value: &PermissionGrant) -> Self
Converts to this type from the input type.
Source§impl From<PermissionGrant> for PermissionGrant
impl From<PermissionGrant> for PermissionGrant
Source§fn from(value: PermissionGrant) -> Self
fn from(value: PermissionGrant) -> Self
Converts to this type from the input type.
Source§impl Serialize for PermissionGrant
impl Serialize for PermissionGrant
Source§impl TryFrom<PermissionGrant> for PermissionGrant
impl TryFrom<PermissionGrant> for PermissionGrant
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PermissionGrant) -> Result<Self, ConversionError>
fn try_from(value: PermissionGrant) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PermissionGrant
impl RefUnwindSafe for PermissionGrant
impl Send for PermissionGrant
impl Sync for PermissionGrant
impl Unpin for PermissionGrant
impl UnsafeUnpin for PermissionGrant
impl UnwindSafe for PermissionGrant
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