pub struct Output<'a> {
pub title: Option<Cow<'a, str>>,
pub summary: Cow<'a, str>,
pub text: Option<Cow<'a, str>>,
pub annotations: Option<Cow<'a, [Annotations<'a>]>>,
pub images: Option<Cow<'a, [Images<'a>]>>,
pub additionalProperties: HashMap<Cow<'a, str>, Value>,
}Expand description
Check runs can accept a variety of data in the output object, including a title and summary and can optionally provide descriptive details about the run. See the output object description.
Fields§
§title: Option<Cow<'a, str>>Required.
summary: Cow<'a, str>Can contain Markdown.
text: Option<Cow<'a, str>>Can contain Markdown.
annotations: Option<Cow<'a, [Annotations<'a>]>>Adds information from your analysis to specific lines of code. Annotations are visible in GitHub’s pull request UI. Annotations are visible in GitHub’s pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the Update a check run endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about annotations in the UI, see “About status checks”. See the annotations object description for details.
images: Option<Cow<'a, [Images<'a>]>>Adds images to the output displayed in the GitHub pull request UI. See the images object description for details.
additionalProperties: HashMap<Cow<'a, str>, Value>Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Output<'a>
impl<'de, 'a> Deserialize<'de> for Output<'a>
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>,
impl<'a> Eq for Output<'a>
impl<'a> StructuralPartialEq for Output<'a>
Auto Trait Implementations§
impl<'a> Freeze for Output<'a>
impl<'a> RefUnwindSafe for Output<'a>
impl<'a> Send for Output<'a>
impl<'a> Sync for Output<'a>
impl<'a> Unpin for Output<'a>
impl<'a> UnwindSafe for Output<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.