pub struct RefFinding {
pub repo: String,
pub refname: String,
pub log_oid: Option<String>,
pub git_oid: Option<String>,
pub state: RefState,
pub reason: String,
}Expand description
One disagreement found by Platform::survey_git_refs.
Fields§
§repo: StringRepo the ref lives in, as it appears in the namespaced log name.
refname: StringRef name inside that repo; empty when the whole repo is the problem.
log_oid: Option<String>What the log says, as a git oid.
git_oid: Option<String>What the repo says.
state: RefStateWhich disagreement this is.
reason: StringHuman-readable cause, for the startup log and the endpoint.
Implementations§
Trait Implementations§
Source§impl Clone for RefFinding
impl Clone for RefFinding
Source§fn clone(&self) -> RefFinding
fn clone(&self) -> RefFinding
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 moreAuto Trait Implementations§
impl Freeze for RefFinding
impl RefUnwindSafe for RefFinding
impl Send for RefFinding
impl Sync for RefFinding
impl Unpin for RefFinding
impl UnsafeUnpin for RefFinding
impl UnwindSafe for RefFinding
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