pub(crate) struct BranchSync<'a> {
pub(crate) repository: &'a Path,
pub(crate) authority: &'a AuthorityBranch,
pub(crate) branch: &'a str,
pub(crate) author: Author<'a>,
pub(crate) mode: SyncMode<'a>,
}Expand description
Where and how to maintain the proposal branch.
Fields§
§repository: &'a Path§branch: &'a str§mode: SyncMode<'a>Trait Implementations§
Source§impl<'a> Clone for BranchSync<'a>
impl<'a> Clone for BranchSync<'a>
Source§fn clone(&self) -> BranchSync<'a>
fn clone(&self) -> BranchSync<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for BranchSync<'a>
Auto Trait Implementations§
impl<'a> Freeze for BranchSync<'a>
impl<'a> RefUnwindSafe for BranchSync<'a>
impl<'a> Send for BranchSync<'a>
impl<'a> Sync for BranchSync<'a>
impl<'a> Unpin for BranchSync<'a>
impl<'a> UnsafeUnpin for BranchSync<'a>
impl<'a> UnwindSafe for BranchSync<'a>
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