Struct silver_platter::MergeProposal
source · pub struct MergeProposal(/* private fields */);
Implementations§
source§impl MergeProposal
impl MergeProposal
pub fn reopen(&self) -> Result<(), PyErr>
pub fn close(&self) -> Result<(), PyErr>
pub fn url(&self) -> Result<Url, PyErr>
pub fn is_merged(&self) -> Result<bool, PyErr>
pub fn is_closed(&self) -> Result<bool, PyErr>
pub fn get_title(&self) -> Result<Option<String>, PyErr>
pub fn set_title(&self, title: Option<&str>) -> Result<(), PyErr>
pub fn get_commit_message(&self) -> Result<Option<String>, PyErr>
pub fn set_commit_message( &self, commit_message: Option<&str> ) -> Result<(), PyErr>
pub fn get_target_branch_url(&self) -> Result<Option<Url>, PyErr>
pub fn get_source_branch_url(&self) -> Result<Option<Url>, PyErr>
pub fn get_description(&self) -> Result<Option<String>, PyErr>
pub fn set_description(&self, description: Option<&str>) -> Result<(), PyErr>
pub fn can_be_merged(&self) -> Result<bool, PyErr>
pub fn supports_auto_merge(&self) -> bool
pub fn merge(&self, auto: bool) -> Result<(), Error>
Trait Implementations§
source§impl Clone for MergeProposal
impl Clone for MergeProposal
source§fn clone(&self) -> MergeProposal
fn clone(&self) -> MergeProposal
Returns a copy 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for MergeProposal
impl Send for MergeProposal
impl Sync for MergeProposal
impl Unpin for MergeProposal
impl UnwindSafe for MergeProposal
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