pub struct Setting {
pub name: Option<String>,
pub principal_arn: Option<String>,
pub value: Option<String>,
}
Expand description
The current account setting for a resource.
Fields§
§name: Option<String>
The Amazon ECS resource name.
principal_arn: Option<String>
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.
value: Option<String>
Whether the account setting is enabled or disabled for the specified resource.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Setting
impl<'de> Deserialize<'de> for Setting
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
impl StructuralPartialEq for Setting
Auto Trait Implementations§
impl Freeze for Setting
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnwindSafe for Setting
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