#[non_exhaustive]pub struct CreateDomainUnitOutput {
pub id: String,
pub domain_id: String,
pub name: String,
pub parent_domain_unit_id: Option<String>,
pub description: Option<String>,
pub owners: Vec<DomainUnitOwnerProperties>,
pub ancestor_domain_unit_ids: Vec<String>,
pub created_at: Option<DateTime>,
pub created_by: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
The ID of the domain unit.
domain_id: String
The ID of the domain where the domain unit was created.
name: String
The name of the domain unit.
parent_domain_unit_id: Option<String>
The ID of the parent domain unit.
description: Option<String>
The description of the domain unit.
owners: Vec<DomainUnitOwnerProperties>
The owners of the domain unit.
ancestor_domain_unit_ids: Vec<String>
The IDs of the ancestor domain units.
created_at: Option<DateTime>
The timestamp at which the domain unit was created.
created_by: Option<String>
The user who created the domain unit.
Implementations§
source§impl CreateDomainUnitOutput
impl CreateDomainUnitOutput
sourcepub fn parent_domain_unit_id(&self) -> Option<&str>
pub fn parent_domain_unit_id(&self) -> Option<&str>
The ID of the parent domain unit.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the domain unit.
sourcepub fn owners(&self) -> &[DomainUnitOwnerProperties]
pub fn owners(&self) -> &[DomainUnitOwnerProperties]
The owners of the domain unit.
sourcepub fn ancestor_domain_unit_ids(&self) -> &[String]
pub fn ancestor_domain_unit_ids(&self) -> &[String]
The IDs of the ancestor domain units.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp at which the domain unit was created.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The user who created the domain unit.
source§impl CreateDomainUnitOutput
impl CreateDomainUnitOutput
sourcepub fn builder() -> CreateDomainUnitOutputBuilder
pub fn builder() -> CreateDomainUnitOutputBuilder
Creates a new builder-style object to manufacture CreateDomainUnitOutput
.
Trait Implementations§
source§impl Clone for CreateDomainUnitOutput
impl Clone for CreateDomainUnitOutput
source§fn clone(&self) -> CreateDomainUnitOutput
fn clone(&self) -> CreateDomainUnitOutput
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 Debug for CreateDomainUnitOutput
impl Debug for CreateDomainUnitOutput
source§impl PartialEq for CreateDomainUnitOutput
impl PartialEq for CreateDomainUnitOutput
source§impl RequestId for CreateDomainUnitOutput
impl RequestId for CreateDomainUnitOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateDomainUnitOutput
Auto Trait Implementations§
impl Freeze for CreateDomainUnitOutput
impl RefUnwindSafe for CreateDomainUnitOutput
impl Send for CreateDomainUnitOutput
impl Sync for CreateDomainUnitOutput
impl Unpin for CreateDomainUnitOutput
impl UnwindSafe for CreateDomainUnitOutput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.