pub struct NewPullRequest { /* private fields */ }Implementations§
Source§impl NewPullRequest
impl NewPullRequest
pub fn body<T>(self, value: T) -> Self
pub fn source_branch<T>(self, value: T) -> Self
pub fn target_branch<T>(self, value: T) -> Self
pub fn title<T>(self, value: T) -> Self
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 Default for NewPullRequest
impl Default for NewPullRequest
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 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