#[non_exhaustive]pub struct ReportResponse {
pub report_errors: Vec<ReportError>,
pub service_config_id: String,
pub service_rollout_id: String,
/* private fields */
}Expand description
Response message for the Report method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.report_errors: Vec<ReportError>Partial failures, one for each Operation in the request that failed
processing. There are three possible combinations of the RPC status:
. The combination of a successful RPC status and an empty report_errors
list indicates a complete success where all Operations in the
request are processed successfully.
. The combination of a successful RPC status and a non-empty
report_errors list indicates a partial success where some
Operations in the request succeeded. Each
Operation that failed processing has a corresponding item
in this list.
. A failed RPC status indicates a general non-deterministic failure.
When this happens, it’s impossible to know which of the
‘Operations’ in the request succeeded or failed.
service_config_id: StringThe actual config id used to process the request.
service_rollout_id: StringThe current service rollout id used to process the request.
Implementations§
Source§impl ReportResponse
impl ReportResponse
pub fn new() -> Self
Sourcepub fn set_service_config_id<T: Into<String>>(self, v: T) -> Self
pub fn set_service_config_id<T: Into<String>>(self, v: T) -> Self
Sets the value of service_config_id.
Sourcepub fn set_service_rollout_id<T: Into<String>>(self, v: T) -> Self
pub fn set_service_rollout_id<T: Into<String>>(self, v: T) -> Self
Sets the value of service_rollout_id.
Sourcepub fn set_report_errors<T, V>(self, v: T) -> Self
pub fn set_report_errors<T, V>(self, v: T) -> Self
Sets the value of report_errors.
Trait Implementations§
Source§impl Clone for ReportResponse
impl Clone for ReportResponse
Source§fn clone(&self) -> ReportResponse
fn clone(&self) -> ReportResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more