Struct aws_sdk_config::types::Relationship
source · #[non_exhaustive]pub struct Relationship { /* private fields */ }Expand description
The relationship of the related resource to the main resource.
Implementations§
source§impl 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.
source§impl Relationship
impl Relationship
sourcepub fn builder() -> RelationshipBuilder
pub fn builder() -> RelationshipBuilder
Creates a new builder-style object to manufacture Relationship.
Trait Implementations§
source§impl Clone for Relationship
impl Clone for Relationship
source§fn clone(&self) -> Relationship
fn clone(&self) -> Relationship
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 Relationship
impl Debug for Relationship
source§impl PartialEq<Relationship> for Relationship
impl PartialEq<Relationship> for Relationship
source§fn eq(&self, other: &Relationship) -> bool
fn eq(&self, other: &Relationship) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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§
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