pub struct ReposCreateCommitStatusRequest {
pub state: State,
pub target_url: Option<Option<String>>,
pub description: Option<Option<String>>,
pub context: Option<String>,
}
Fields§
§state: State
The state of the status.
target_url: Option<Option<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
description: Option<Option<String>>
A short description of the status.
context: Option<String>
A string label to differentiate this status from the status of other systems. This field is case-insensitive.
Implementations§
Source§impl ReposCreateCommitStatusRequest
impl ReposCreateCommitStatusRequest
pub fn new(state: State) -> ReposCreateCommitStatusRequest
Trait Implementations§
Source§impl Clone for ReposCreateCommitStatusRequest
impl Clone for ReposCreateCommitStatusRequest
Source§fn clone(&self) -> ReposCreateCommitStatusRequest
fn clone(&self) -> ReposCreateCommitStatusRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ReposCreateCommitStatusRequest
impl Default for ReposCreateCommitStatusRequest
Source§fn default() -> ReposCreateCommitStatusRequest
fn default() -> ReposCreateCommitStatusRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReposCreateCommitStatusRequest
impl<'de> Deserialize<'de> for ReposCreateCommitStatusRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReposCreateCommitStatusRequest
impl PartialEq for ReposCreateCommitStatusRequest
Source§fn eq(&self, other: &ReposCreateCommitStatusRequest) -> bool
fn eq(&self, other: &ReposCreateCommitStatusRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReposCreateCommitStatusRequest
Auto Trait Implementations§
impl Freeze for ReposCreateCommitStatusRequest
impl RefUnwindSafe for ReposCreateCommitStatusRequest
impl Send for ReposCreateCommitStatusRequest
impl Sync for ReposCreateCommitStatusRequest
impl Unpin for ReposCreateCommitStatusRequest
impl UnwindSafe for ReposCreateCommitStatusRequest
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
Mutably borrows from an owned value. Read more