Struct silver_platter::RegularBranch
source · pub struct RegularBranch(/* private fields */);
Implementations§
source§impl RegularBranch
impl RegularBranch
pub fn new(obj: Py<PyAny>) -> RegularBranch
Trait Implementations§
source§impl Branch for RegularBranch
impl Branch for RegularBranch
fn format(&self) -> BranchFormat
fn lock_read(&self) -> Result<Lock, PyErr>
fn repository(&self) -> Repository
fn last_revision(&self) -> RevisionId
fn name(&self) -> Option<String>
fn basis_tree(&self) -> Result<RevisionTree, PyErr>
fn get_user_url(&self) -> Url
fn controldir(&self) -> ControlDir
fn push( &self, remote_branch: &dyn Branch, overwrite: bool, stop_revision: Option<&RevisionId>, tag_selector: Option<Box<dyn Fn(String) -> bool>> ) -> Result<(), PyErr>
fn pull(&self, source_branch: &dyn Branch) -> Result<(), PyErr>
fn get_public_branch(&self) -> Option<String>
fn get_push_location(&self) -> Option<String>
fn get_submit_branch(&self) -> Option<String>
fn user_transport(&self) -> Transport
source§impl Clone for RegularBranch
impl Clone for RegularBranch
source§fn clone(&self) -> RegularBranch
fn clone(&self) -> RegularBranch
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 moresource§impl FromPyObject<'_> for RegularBranch
impl FromPyObject<'_> for RegularBranch
source§impl ToPyObject for RegularBranch
impl ToPyObject for RegularBranch
Auto Trait Implementations§
impl !RefUnwindSafe for RegularBranch
impl Send for RegularBranch
impl Sync for RegularBranch
impl Unpin for RegularBranch
impl UnwindSafe for RegularBranch
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