pub struct ChecksCreateRequestOutput {
pub title: String,
pub summary: String,
pub text: Option<String>,
pub annotations: Option<Vec<ChecksCreateRequestOutputAnnotationsInner>>,
pub images: Option<Vec<ChecksCreateRequestOutputImagesInner>>,
}
Expand description
ChecksCreateRequestOutput : 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: String
The title of the check run.
summary: String
The summary of the check run. This parameter supports Markdown. Maximum length: 65535 characters.
text: Option<String>
The details of the check run. This parameter supports Markdown. Maximum length: 65535 characters.
annotations: Option<Vec<ChecksCreateRequestOutputAnnotationsInner>>
Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the Checks and Files changed tab of the pull request. 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 how you can view annotations on GitHub, see "About status checks".
images: Option<Vec<ChecksCreateRequestOutputImagesInner>>
Adds images to the output displayed in the GitHub pull request UI.
Implementations§
Source§impl ChecksCreateRequestOutput
impl ChecksCreateRequestOutput
Sourcepub fn new(title: String, summary: String) -> ChecksCreateRequestOutput
pub fn new(title: String, summary: String) -> ChecksCreateRequestOutput
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 ChecksCreateRequestOutput
impl Clone for ChecksCreateRequestOutput
Source§fn clone(&self) -> ChecksCreateRequestOutput
fn clone(&self) -> ChecksCreateRequestOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more