Struct google_clouddebugger2::api::StatusMessage
source · pub struct StatusMessage {
pub description: Option<FormatMessage>,
pub is_error: Option<bool>,
pub refers_to: Option<String>,
}
Expand description
Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status
field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION
with the message Location not found
.
This type is not used in any activity, and only used as part of another schema.
Fields§
§description: Option<FormatMessage>
Status message text.
is_error: Option<bool>
Distinguishes errors from informational messages.
refers_to: Option<String>
Reference to which the message applies.
Trait Implementations§
source§impl Clone for StatusMessage
impl Clone for StatusMessage
source§fn clone(&self) -> StatusMessage
fn clone(&self) -> StatusMessage
Returns a copy 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 StatusMessage
impl Debug for StatusMessage
source§impl Default for StatusMessage
impl Default for StatusMessage
source§fn default() -> StatusMessage
fn default() -> StatusMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StatusMessage
impl<'de> Deserialize<'de> for StatusMessage
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
source§impl Serialize for StatusMessage
impl Serialize for StatusMessage
impl Part for StatusMessage
Auto Trait Implementations§
impl RefUnwindSafe for StatusMessage
impl Send for StatusMessage
impl Sync for StatusMessage
impl Unpin for StatusMessage
impl UnwindSafe for StatusMessage
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