pub struct ChecksUpdateRequestOutput {
pub title: Option<String>,
pub summary: String,
pub text: Option<String>,
pub annotations: Option<Vec<ChecksCreateRequestOutputAnnotationsInner>>,
pub images: Option<Vec<ChecksCreateRequestOutputImagesInner>>,
}
Expand description
ChecksUpdateRequestOutput : 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.
Fields§
§title: Option<String>
Required.
summary: String
Can contain Markdown.
text: Option<String>
Can contain Markdown.
annotations: Option<Vec<ChecksCreateRequestOutputAnnotationsInner>>
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. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about annotations in the UI, see "About status checks".
images: Option<Vec<ChecksCreateRequestOutputImagesInner>>
Adds images to the output displayed in the GitHub pull request UI.
Implementations§
Source§impl ChecksUpdateRequestOutput
impl ChecksUpdateRequestOutput
Sourcepub fn new(summary: String) -> ChecksUpdateRequestOutput
pub fn new(summary: String) -> ChecksUpdateRequestOutput
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.
Trait Implementations§
Source§impl Clone for ChecksUpdateRequestOutput
impl Clone for ChecksUpdateRequestOutput
Source§fn clone(&self) -> ChecksUpdateRequestOutput
fn clone(&self) -> ChecksUpdateRequestOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more