pub enum ExcludedAnswer {
NotAvailable {
outcome: FactId,
},
NoProposal {
outcome: FactId,
},
Excluded {
scopes: Vec<ExcludedScope>,
cuts: Vec<Cut>,
selected_in: Vec<String>,
facets: Vec<FactId>,
},
Cut {
cuts: Vec<Cut>,
selected_in: Vec<String>,
facets: Vec<FactId>,
},
Selected {
see: SeeSelected,
},
NotInPool {
pool: FactId,
facets: Vec<FactId>,
},
Unknown {
pool: FactId,
facets: Vec<FactId>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ExcludedAnswer
impl Clone for ExcludedAnswer
Source§impl Debug for ExcludedAnswer
impl Debug for ExcludedAnswer
Source§impl<'de> Deserialize<'de> for ExcludedAnswer
impl<'de> Deserialize<'de> for ExcludedAnswer
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 JsonSchema for ExcludedAnswer
impl JsonSchema for ExcludedAnswer
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 ExcludedAnswer
impl PartialEq for ExcludedAnswer
Source§impl Serialize for ExcludedAnswer
impl Serialize for ExcludedAnswer
impl StructuralPartialEq for ExcludedAnswer
Auto Trait Implementations§
impl Freeze for ExcludedAnswer
impl RefUnwindSafe for ExcludedAnswer
impl Send for ExcludedAnswer
impl Sync for ExcludedAnswer
impl Unpin for ExcludedAnswer
impl UnsafeUnpin for ExcludedAnswer
impl UnwindSafe for ExcludedAnswer
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