Enum pagersduty::events::v1::Context
[−]
[src]
pub enum Context { Link { href: String, text: Option<String>, }, Image { src: String, href: Option<String>, alt: Option<String>, }, }
Variants
Link
The link type is used to attach hyperlinks to an incident.
Fields of Link
href: String | The link being attached to the incident. |
text: Option<String> | Plain text that describes the purpose of the link, and can be used as the link's text. |
Image
The image type is used to attach images to an incident. Images must be served via HTTPS.
Fields of Image
src: String | The source of the image being attached to the incident. This image must be served via HTTPS. |
href: Option<String> | Optional link for the image. |
alt: Option<String> | Optional alternative text for the image. |