pub struct CandidateRefusal {
pub code: String,
pub paths: Vec<String>,
}Expand description
Why a candidate was refused before it was applied.
Fields§
§code: StringBUG-CANDIDATE-JUDGE or BUG-CANDIDATE-APPLY.
paths: Vec<String>The judge paths it touches, or the hunks that did not apply.
Trait Implementations§
Source§impl Clone for CandidateRefusal
impl Clone for CandidateRefusal
Source§impl Debug for CandidateRefusal
impl Debug for CandidateRefusal
Source§impl<'de> Deserialize<'de> for CandidateRefusal
impl<'de> Deserialize<'de> for CandidateRefusal
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
impl Eq for CandidateRefusal
Source§impl JsonSchema for CandidateRefusal
impl JsonSchema for CandidateRefusal
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CandidateRefusal
impl PartialEq for CandidateRefusal
Source§impl Serialize for CandidateRefusal
impl Serialize for CandidateRefusal
impl StructuralPartialEq for CandidateRefusal
Auto Trait Implementations§
impl Freeze for CandidateRefusal
impl RefUnwindSafe for CandidateRefusal
impl Send for CandidateRefusal
impl Sync for CandidateRefusal
impl Unpin for CandidateRefusal
impl UnsafeUnpin for CandidateRefusal
impl UnwindSafe for CandidateRefusal
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