pub struct BranchArgs {
pub name: String,
pub repo_root: PathBuf,
pub path: Option<String>,
}Expand description
The caller’s git checkout for clone --branch; the client fills it.
Fields§
§name: StringThe branch name as git shows it.
repo_root: PathBufThe root of the caller’s git work tree (git rev-parse --show-toplevel).
path: Option<String>The caller’s PATH, for the migrate command.
Trait Implementations§
Source§impl Clone for BranchArgs
impl Clone for BranchArgs
Source§impl Debug for BranchArgs
impl Debug for BranchArgs
Source§impl<'de> Deserialize<'de> for BranchArgs
impl<'de> Deserialize<'de> for BranchArgs
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 PartialEq for BranchArgs
impl PartialEq for BranchArgs
Source§impl Serialize for BranchArgs
impl Serialize for BranchArgs
impl StructuralPartialEq for BranchArgs
Auto Trait Implementations§
impl Freeze for BranchArgs
impl RefUnwindSafe for BranchArgs
impl Send for BranchArgs
impl Sync for BranchArgs
impl Unpin for BranchArgs
impl UnsafeUnpin for BranchArgs
impl UnwindSafe for BranchArgs
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