pub struct PreparedPush {
pub unpack: Result<(), String>,
pub updates: Vec<RefUpdate>,
}Expand description
The prepare output of crate::GitPackIngest::prepare (ADR-018 §5).
unpack is the report’s unpack leg (ok, or the unpack ng <reason>
text); pack-level validation failures (parse, index, fsck
connectivity) land here as the ng leg, not as Err — the session
continues to the report per ADR-013 §8. Err is for
substrate/infrastructure failure only (ADR-018 §7).
Fields§
§unpack: Result<(), String>§updates: Vec<RefUpdate>Trait Implementations§
Source§impl Clone for PreparedPush
impl Clone for PreparedPush
Source§impl Debug for PreparedPush
impl Debug for PreparedPush
impl Eq for PreparedPush
Source§impl PartialEq for PreparedPush
impl PartialEq for PreparedPush
impl StructuralPartialEq for PreparedPush
Auto Trait Implementations§
impl Freeze for PreparedPush
impl RefUnwindSafe for PreparedPush
impl Send for PreparedPush
impl Sync for PreparedPush
impl Unpin for PreparedPush
impl UnsafeUnpin for PreparedPush
impl UnwindSafe for PreparedPush
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.