pub struct Alert {
pub message: Option<String>,
pub name: Option<String>,
pub severity: Option<String>,
pub type_: Option<String>,
}Expand description
Representation of an alert.
This type is not used in any activity, and only used as part of another schema.
Fields§
§message: Option<String>Output only. The localized alert message. This may contain HTML markup, such as phrase elements or links.
name: Option<String>Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert}
severity: Option<String>Output only. Severity of this alert.
type_: Option<String>Output only. Type of alert. This identifies the broad type of this alert, and provides a stable machine-readable identifier that will not be translated. For example, “payment-hold”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alert
impl<'de> Deserialize<'de> for Alert
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 Alert
Auto Trait Implementations§
impl Freeze for Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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