Struct octorust::types::ReposCreateCommitStatusRequest [−][src]
pub struct ReposCreateCommitStatusRequest { pub context: String, pub description: String, pub state: ReposCreateCommitStatusRequestState, pub target_url: String, }
Fields
context: String
A string label to differentiate this status from the status of other systems. This field is case-insensitive.
description: String
A short description of the status.
state: ReposCreateCommitStatusRequestState
The state of the status. Can be one of error
, failure
, pending
, or success
.
target_url: String
The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA:
http://ci.example.com/user/repo/build/sha
Trait Implementations
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
Auto Trait Implementations
impl Send for ReposCreateCommitStatusRequest
impl Sync for ReposCreateCommitStatusRequest
impl Unpin for ReposCreateCommitStatusRequest
impl UnwindSafe for ReposCreateCommitStatusRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more