#[non_exhaustive]pub struct GetDomainUnitOutput {
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 created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
pub created_by: Option<String>,
pub last_updated_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 in which the domain unit lives.
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.
created_at: Option<DateTime>
The time stamp at which the domain unit was created.
last_updated_at: Option<DateTime>
The timestamp at which the domain unit was last updated.
created_by: Option<String>
The user who created the domain unit.
last_updated_by: Option<String>
The user who last updated the domain unit.
Implementations§
source§impl GetDomainUnitOutput
impl GetDomainUnitOutput
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 created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time stamp at which the domain unit was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The timestamp at which the domain unit was last updated.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The user who created the domain unit.
sourcepub fn last_updated_by(&self) -> Option<&str>
pub fn last_updated_by(&self) -> Option<&str>
The user who last updated the domain unit.
source§impl GetDomainUnitOutput
impl GetDomainUnitOutput
sourcepub fn builder() -> GetDomainUnitOutputBuilder
pub fn builder() -> GetDomainUnitOutputBuilder
Creates a new builder-style object to manufacture GetDomainUnitOutput
.
Trait Implementations§
source§impl Clone for GetDomainUnitOutput
impl Clone for GetDomainUnitOutput
source§fn clone(&self) -> GetDomainUnitOutput
fn clone(&self) -> GetDomainUnitOutput
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 GetDomainUnitOutput
impl Debug for GetDomainUnitOutput
source§impl PartialEq for GetDomainUnitOutput
impl PartialEq for GetDomainUnitOutput
source§impl RequestId for GetDomainUnitOutput
impl RequestId for GetDomainUnitOutput
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 GetDomainUnitOutput
Auto Trait Implementations§
impl Freeze for GetDomainUnitOutput
impl RefUnwindSafe for GetDomainUnitOutput
impl Send for GetDomainUnitOutput
impl Sync for GetDomainUnitOutput
impl Unpin for GetDomainUnitOutput
impl UnwindSafe for GetDomainUnitOutput
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.