pub struct RelationshipAttributes {
pub action: Option<String>,
pub source_resource_type: Option<String>,
pub target_resource_type: Option<String>,
pub type_: Option<String>,
}Expand description
DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The relationship attributes which include type, source_resource_type, target_resource_type and action.
This type is not used in any activity, and only used as part of another schema.
Fields§
§action: Option<String>The detail of the relationship, e.g. contains, attaches
source_resource_type: Option<String>The source asset type. Example: compute.googleapis.com/Instance
target_resource_type: Option<String>The target asset type. Example: compute.googleapis.com/Disk
type_: Option<String>The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP
Trait Implementations§
Source§impl Clone for RelationshipAttributes
impl Clone for RelationshipAttributes
Source§fn clone(&self) -> RelationshipAttributes
fn clone(&self) -> RelationshipAttributes
Returns a duplicate 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 RelationshipAttributes
impl Debug for RelationshipAttributes
Source§impl Default for RelationshipAttributes
impl Default for RelationshipAttributes
Source§fn default() -> RelationshipAttributes
fn default() -> RelationshipAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelationshipAttributes
impl<'de> Deserialize<'de> for RelationshipAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RelationshipAttributes
impl Serialize for RelationshipAttributes
impl Part for RelationshipAttributes
Auto Trait Implementations§
impl Freeze for RelationshipAttributes
impl RefUnwindSafe for RelationshipAttributes
impl Send for RelationshipAttributes
impl Sync for RelationshipAttributes
impl Unpin for RelationshipAttributes
impl UnwindSafe for RelationshipAttributes
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