pub struct PatchPullsUpdate {
pub title: Option<String>,
pub body: Option<String>,
pub state: Option<String>,
pub base: Option<String>,
pub maintainer_can_modify: Option<bool>,
}Fields§
§title: Option<String>The title of the pull request.
body: Option<String>The contents of the pull request.
state: Option<String>State of this Pull Request. Either open or closed.
base: Option<String>The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository.
maintainer_can_modify: Option<bool>Indicates whether maintainers can modify the pull request.
Trait Implementations§
Source§impl Clone for PatchPullsUpdate
impl Clone for PatchPullsUpdate
Source§fn clone(&self) -> PatchPullsUpdate
fn clone(&self) -> PatchPullsUpdate
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 Debug for PatchPullsUpdate
impl Debug for PatchPullsUpdate
Source§impl Default for PatchPullsUpdate
impl Default for PatchPullsUpdate
Source§fn default() -> PatchPullsUpdate
fn default() -> PatchPullsUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchPullsUpdate
impl<'de> Deserialize<'de> for PatchPullsUpdate
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 PatchPullsUpdate
impl PartialEq for PatchPullsUpdate
Source§impl Serialize for PatchPullsUpdate
impl Serialize for PatchPullsUpdate
impl StructuralPartialEq for PatchPullsUpdate
Auto Trait Implementations§
impl Freeze for PatchPullsUpdate
impl RefUnwindSafe for PatchPullsUpdate
impl Send for PatchPullsUpdate
impl Sync for PatchPullsUpdate
impl Unpin for PatchPullsUpdate
impl UnwindSafe for PatchPullsUpdate
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