pub struct NewPullRequest {
pub body: String,
pub source_branch: String,
pub target_branch: String,
pub title: String,
}Expand description
NewPullRequest
JSON schema
{
"type": "object",
"required": [
"body",
"source_branch",
"target_branch",
"title"
],
"properties": {
"body": {
"type": "string"
},
"source_branch": {
"type": "string"
},
"target_branch": {
"type": "string"
},
"title": {
"type": "string"
}
}
}Fields§
§body: String§source_branch: String§target_branch: String§title: StringImplementations§
Source§impl NewPullRequest
impl NewPullRequest
pub fn builder() -> NewPullRequest
Trait Implementations§
Source§impl Clone for NewPullRequest
impl Clone for NewPullRequest
Source§fn clone(&self) -> NewPullRequest
fn clone(&self) -> NewPullRequest
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 NewPullRequest
impl Debug for NewPullRequest
Source§impl<'de> Deserialize<'de> for NewPullRequest
impl<'de> Deserialize<'de> for NewPullRequest
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 From<&NewPullRequest> for NewPullRequest
impl From<&NewPullRequest> for NewPullRequest
Source§fn from(value: &NewPullRequest) -> Self
fn from(value: &NewPullRequest) -> Self
Converts to this type from the input type.
Source§impl From<NewPullRequest> for NewPullRequest
impl From<NewPullRequest> for NewPullRequest
Source§fn from(value: NewPullRequest) -> Self
fn from(value: NewPullRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for NewPullRequest
impl Serialize for NewPullRequest
Source§impl TryFrom<NewPullRequest> for NewPullRequest
impl TryFrom<NewPullRequest> for NewPullRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: NewPullRequest) -> Result<Self, ConversionError>
fn try_from(value: NewPullRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for NewPullRequest
impl RefUnwindSafe for NewPullRequest
impl Send for NewPullRequest
impl Sync for NewPullRequest
impl Unpin for NewPullRequest
impl UnsafeUnpin for NewPullRequest
impl UnwindSafe for NewPullRequest
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