pub struct PushPlanRequest {
pub capability: RepositoryCapability,
pub uses_hosted_network: bool,
pub remote: Option<String>,
pub has_default_remote: bool,
pub thread: Option<String>,
pub all_threads: bool,
pub force: bool,
pub head: Head,
pub native_local_heddle_target: bool,
pub transport_mismatch: bool,
}Expand description
Caller-supplied facts for pure push planning (no repository I/O here).
Fields§
§capability: RepositoryCapability§uses_hosted_network: boolTrue when the resolved remote is a hosted heddle network endpoint.
remote: Option<String>Explicit remote name/spec from the user; None means default.
has_default_remote: boolWhether a configured default remote exists (when remote is None).
thread: Option<String>Explicit thread from the user (--thread / positional).
all_threads: bool§force: bool§head: HeadHEAD for default thread selection.
native_local_heddle_target: boolCLI-discovered: under local git-overlay transport, the remote is a native heddle local path (local-sync path rather than refs push).
transport_mismatch: boolNative capability + git remote classification (CLI classify_remote_spec).
Trait Implementations§
Source§impl Clone for PushPlanRequest
impl Clone for PushPlanRequest
Source§fn clone(&self) -> PushPlanRequest
fn clone(&self) -> PushPlanRequest
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 moreSource§impl Debug for PushPlanRequest
impl Debug for PushPlanRequest
impl Eq for PushPlanRequest
Source§impl PartialEq for PushPlanRequest
impl PartialEq for PushPlanRequest
impl StructuralPartialEq for PushPlanRequest
Auto Trait Implementations§
impl Freeze for PushPlanRequest
impl RefUnwindSafe for PushPlanRequest
impl Send for PushPlanRequest
impl Sync for PushPlanRequest
impl Unpin for PushPlanRequest
impl UnsafeUnpin for PushPlanRequest
impl UnwindSafe for PushPlanRequest
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