pub struct AwsOrganizationalUnit {
pub id: Option<String>,
pub name: Option<String>,
}Expand description
An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires “ou-” followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second “-” dash and from 8 to 32 additional lowercase letters or digits. For example, “ou-ab12-cd34ef56”.
name: Option<String>The friendly name of the OU.
Trait Implementations§
Source§impl Clone for AwsOrganizationalUnit
impl Clone for AwsOrganizationalUnit
Source§fn clone(&self) -> AwsOrganizationalUnit
fn clone(&self) -> AwsOrganizationalUnit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AwsOrganizationalUnit
impl Debug for AwsOrganizationalUnit
Source§impl Default for AwsOrganizationalUnit
impl Default for AwsOrganizationalUnit
Source§fn default() -> AwsOrganizationalUnit
fn default() -> AwsOrganizationalUnit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsOrganizationalUnit
impl<'de> Deserialize<'de> for AwsOrganizationalUnit
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 Part for AwsOrganizationalUnit
Auto Trait Implementations§
impl Freeze for AwsOrganizationalUnit
impl RefUnwindSafe for AwsOrganizationalUnit
impl Send for AwsOrganizationalUnit
impl Sync for AwsOrganizationalUnit
impl Unpin for AwsOrganizationalUnit
impl UnsafeUnpin for AwsOrganizationalUnit
impl UnwindSafe for AwsOrganizationalUnit
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