Struct roctogen::models::PutPullsUpdateBranch [−][src]
Fields
expected_head_sha: Option<String>
The expected SHA of the pull request’s HEAD ref. This is the most recent commit on the pull request’s branch. If the expected SHA does not match the pull request’s HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits" endpoint to find the most recent commit SHA. Default: SHA of the pull request’s current HEAD ref.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PutPullsUpdateBranch
impl Send for PutPullsUpdateBranch
impl Sync for PutPullsUpdateBranch
impl Unpin for PutPullsUpdateBranch
impl UnwindSafe for PutPullsUpdateBranch
Blanket Implementations
Mutably borrows from an owned value. Read more