pub struct UtilStatusProto {
pub canonical_code: Option<i32>,
pub code: Option<i32>,
pub message: Option<String>,
pub message_set: Option<Proto2BridgeMessageSet>,
pub space: Option<String>,
}Expand description
Wire-format for a Status object
This type is not used in any activity, and only used as part of another schema.
Fields§
§canonical_code: Option<i32>copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;
code: Option<i32>Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;
message: Option<String>Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;
message_set: Option<Proto2BridgeMessageSet>message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;
space: Option<String>copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs
Trait Implementations§
Source§impl Clone for UtilStatusProto
impl Clone for UtilStatusProto
Source§fn clone(&self) -> UtilStatusProto
fn clone(&self) -> UtilStatusProto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more