pub struct GoogleCloudRecommenderV1Impact {
pub category: Option<String>,
pub cost_projection: Option<GoogleCloudRecommenderV1CostProjection>,
pub impact_components: Option<Vec<GoogleCloudRecommenderV1Impact>>,
pub reliability_projection: Option<GoogleCloudRecommenderV1ReliabilityProjection>,
pub security_projection: Option<GoogleCloudRecommenderV1SecurityProjection>,
pub service: Option<String>,
pub sustainability_projection: Option<GoogleCloudRecommenderV1SustainabilityProjection>,
}Expand description
Contains the impact a recommendation can have for a given category.
This type is not used in any activity, and only used as part of another schema.
Fields§
§category: Option<String>Category that is being targeted.
cost_projection: Option<GoogleCloudRecommenderV1CostProjection>Use with CategoryType.COST
impact_components: Option<Vec<GoogleCloudRecommenderV1Impact>>If populated, the impact contains multiple components. In this case, the top-level impact contains aggregated values and each component contains per-service details.
reliability_projection: Option<GoogleCloudRecommenderV1ReliabilityProjection>Use with CategoryType.RELIABILITY
security_projection: Option<GoogleCloudRecommenderV1SecurityProjection>Use with CategoryType.SECURITY
service: Option<String>The service that this impact is associated with.
sustainability_projection: Option<GoogleCloudRecommenderV1SustainabilityProjection>Use with CategoryType.SUSTAINABILITY
Trait Implementations§
Source§impl Clone for GoogleCloudRecommenderV1Impact
impl Clone for GoogleCloudRecommenderV1Impact
Source§fn clone(&self) -> GoogleCloudRecommenderV1Impact
fn clone(&self) -> GoogleCloudRecommenderV1Impact
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 GoogleCloudRecommenderV1Impact
impl Default for GoogleCloudRecommenderV1Impact
Source§fn default() -> GoogleCloudRecommenderV1Impact
fn default() -> GoogleCloudRecommenderV1Impact
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudRecommenderV1Impact
impl<'de> Deserialize<'de> for GoogleCloudRecommenderV1Impact
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 GoogleCloudRecommenderV1Impact
Auto Trait Implementations§
impl Freeze for GoogleCloudRecommenderV1Impact
impl RefUnwindSafe for GoogleCloudRecommenderV1Impact
impl Send for GoogleCloudRecommenderV1Impact
impl Sync for GoogleCloudRecommenderV1Impact
impl Unpin for GoogleCloudRecommenderV1Impact
impl UnwindSafe for GoogleCloudRecommenderV1Impact
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