pub struct GoogleCloudAssuredworkloadsV1WorkloadResourceInfo {
pub resource_id: Option<i64>,
pub resource_type: Option<String>,
}Expand description
Represent the resources that are children of this Workload.
This type is not used in any activity, and only used as part of another schema.
Fields§
§resource_id: Option<i64>Output only. Resource identifier. For a project this represents project_number.
resource_type: Option<String>Indicates the type of resource.
Trait Implementations§
Source§impl Clone for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl Clone for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
Source§fn clone(&self) -> GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
fn clone(&self) -> GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
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 Default for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl Default for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
Source§fn default() -> GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
fn default() -> GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl<'de> Deserialize<'de> for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
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
impl Part for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
Auto Trait Implementations§
impl Freeze for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl RefUnwindSafe for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl Send for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl Sync for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl Unpin for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
impl UnwindSafe for GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
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