Struct scaleway_api_rs::models::scaleway_period_iam_period_v1alpha1_period_rule::ScalewayPeriodIamPeriodV1alpha1PeriodRule
source · pub struct ScalewayPeriodIamPeriodV1alpha1PeriodRule {
pub id: Option<String>,
pub permission_set_names: Option<Option<Vec<String>>>,
pub permission_sets_scope_type: Option<PermissionSetsScopeType>,
pub project_ids: Option<Option<Vec<String>>>,
pub organization_id: Option<String>,
pub account_root_user_id: Option<String>,
}
Fields§
§id: Option<String>
Id of rule
permission_set_names: Option<Option<Vec<String>>>
Names of permission sets bound to the rule
permission_sets_scope_type: Option<PermissionSetsScopeType>
Permission_set_names have the same scope_type
project_ids: Option<Option<Vec<String>>>
List of project IDs scoped to the rule
organization_id: Option<String>
ID of organization scoped to the rule
account_root_user_id: Option<String>
ID of account root user scoped to the rule
Implementations§
Trait Implementations§
source§impl Clone for ScalewayPeriodIamPeriodV1alpha1PeriodRule
impl Clone for ScalewayPeriodIamPeriodV1alpha1PeriodRule
source§fn clone(&self) -> ScalewayPeriodIamPeriodV1alpha1PeriodRule
fn clone(&self) -> ScalewayPeriodIamPeriodV1alpha1PeriodRule
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 Default for ScalewayPeriodIamPeriodV1alpha1PeriodRule
impl Default for ScalewayPeriodIamPeriodV1alpha1PeriodRule
source§fn default() -> ScalewayPeriodIamPeriodV1alpha1PeriodRule
fn default() -> ScalewayPeriodIamPeriodV1alpha1PeriodRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayPeriodIamPeriodV1alpha1PeriodRule
impl<'de> Deserialize<'de> for ScalewayPeriodIamPeriodV1alpha1PeriodRule
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<ScalewayPeriodIamPeriodV1alpha1PeriodRule> for ScalewayPeriodIamPeriodV1alpha1PeriodRule
impl PartialEq<ScalewayPeriodIamPeriodV1alpha1PeriodRule> for ScalewayPeriodIamPeriodV1alpha1PeriodRule
source§fn eq(&self, other: &ScalewayPeriodIamPeriodV1alpha1PeriodRule) -> bool
fn eq(&self, other: &ScalewayPeriodIamPeriodV1alpha1PeriodRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.