Struct aws_sdk_datazone::types::TermRelations
source · #[non_exhaustive]pub struct TermRelations {
pub is_a: Option<Vec<String>>,
pub classifies: Option<Vec<String>>,
}
Expand description
The details of the term relations.
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.is_a: Option<Vec<String>>
The isA
property of the term relations.
classifies: Option<Vec<String>>
The classifies of the term relations.
Implementations§
source§impl TermRelations
impl TermRelations
sourcepub fn is_a(&self) -> &[String]
pub fn is_a(&self) -> &[String]
The isA
property of the term relations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .is_a.is_none()
.
sourcepub fn classifies(&self) -> &[String]
pub fn classifies(&self) -> &[String]
The classifies of the term relations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .classifies.is_none()
.
source§impl TermRelations
impl TermRelations
sourcepub fn builder() -> TermRelationsBuilder
pub fn builder() -> TermRelationsBuilder
Creates a new builder-style object to manufacture TermRelations
.
Trait Implementations§
source§impl Clone for TermRelations
impl Clone for TermRelations
source§fn clone(&self) -> TermRelations
fn clone(&self) -> TermRelations
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 TermRelations
impl Debug for TermRelations
source§impl PartialEq for TermRelations
impl PartialEq for TermRelations
source§fn eq(&self, other: &TermRelations) -> bool
fn eq(&self, other: &TermRelations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TermRelations
Auto Trait Implementations§
impl Freeze for TermRelations
impl RefUnwindSafe for TermRelations
impl Send for TermRelations
impl Sync for TermRelations
impl Unpin for TermRelations
impl UnwindSafe for TermRelations
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> 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>
Creates a shared type from an unshared type.