pub struct AttachedResource {
pub asset_type: Option<String>,
pub versioned_resources: Option<Vec<VersionedResource>>,
}Expand description
Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource’s payload.
This type is not used in any activity, and only used as part of another schema.
Fields§
§asset_type: Option<String>The type of this attached resource. Example: osconfig.googleapis.com/Inventory You can find the supported attached asset types of each resource in this table: https://cloud.google.com/asset-inventory/docs/supported-asset-types
versioned_resources: Option<Vec<VersionedResource>>Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
Trait Implementations§
Source§impl Clone for AttachedResource
impl Clone for AttachedResource
Source§fn clone(&self) -> AttachedResource
fn clone(&self) -> AttachedResource
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 AttachedResource
impl Debug for AttachedResource
Source§impl Default for AttachedResource
impl Default for AttachedResource
Source§fn default() -> AttachedResource
fn default() -> AttachedResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachedResource
impl<'de> Deserialize<'de> for AttachedResource
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 AttachedResource
impl Serialize for AttachedResource
impl Part for AttachedResource
Auto Trait Implementations§
impl Freeze for AttachedResource
impl RefUnwindSafe for AttachedResource
impl Send for AttachedResource
impl Sync for AttachedResource
impl Unpin for AttachedResource
impl UnwindSafe for AttachedResource
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