Struct aws_sdk_config::model::Relationship
source · [−]#[non_exhaustive]pub struct Relationship { /* private fields */ }Expand description
The relationship of the related resource to the main resource.
Implementations
sourceimpl Relationship
impl Relationship
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The resource type of the related resource.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the related resource (for example, sg-xxxxxx).
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
The custom name of the related resource, if available.
sourcepub fn relationship_name(&self) -> Option<&str>
pub fn relationship_name(&self) -> Option<&str>
The type of relationship with the related resource.
sourceimpl Relationship
impl Relationship
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Relationship.
Trait Implementations
sourceimpl Clone for Relationship
impl Clone for Relationship
sourcefn clone(&self) -> Relationship
fn clone(&self) -> Relationship
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Relationship
impl Debug for Relationship
sourceimpl PartialEq<Relationship> for Relationship
impl PartialEq<Relationship> for Relationship
sourcefn eq(&self, other: &Relationship) -> bool
fn eq(&self, other: &Relationship) -> bool
impl StructuralPartialEq for Relationship
Auto Trait Implementations
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnwindSafe for Relationship
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more