#[non_exhaustive]pub struct GenerateConfigReportRequest {
pub new_config: Option<Any>,
pub old_config: Option<Any>,
/* private fields */
}Expand description
Request message for GenerateConfigReport method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.new_config: Option<Any>Required. Service configuration for which we want to generate the report. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service
old_config: Option<Any>Optional. Service configuration against which the comparison will be done. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service
Implementations§
Source§impl GenerateConfigReportRequest
impl GenerateConfigReportRequest
pub fn new() -> Self
Sourcepub fn set_new_config<T>(self, v: T) -> Self
pub fn set_new_config<T>(self, v: T) -> Self
Sets the value of new_config.
Sourcepub fn set_or_clear_new_config<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_new_config<T>(self, v: Option<T>) -> Self
Sets or clears the value of new_config.
Sourcepub fn set_old_config<T>(self, v: T) -> Self
pub fn set_old_config<T>(self, v: T) -> Self
Sets the value of old_config.
Sourcepub fn set_or_clear_old_config<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_old_config<T>(self, v: Option<T>) -> Self
Sets or clears the value of old_config.
Trait Implementations§
Source§impl Clone for GenerateConfigReportRequest
impl Clone for GenerateConfigReportRequest
Source§fn clone(&self) -> GenerateConfigReportRequest
fn clone(&self) -> GenerateConfigReportRequest
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 GenerateConfigReportRequest
impl Debug for GenerateConfigReportRequest
Source§impl Default for GenerateConfigReportRequest
impl Default for GenerateConfigReportRequest
Source§fn default() -> GenerateConfigReportRequest
fn default() -> GenerateConfigReportRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GenerateConfigReportRequest
Auto Trait Implementations§
impl Freeze for GenerateConfigReportRequest
impl RefUnwindSafe for GenerateConfigReportRequest
impl Send for GenerateConfigReportRequest
impl Sync for GenerateConfigReportRequest
impl Unpin for GenerateConfigReportRequest
impl UnwindSafe for GenerateConfigReportRequest
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