pub struct HeldOutOracle {
pub agree: usize,
pub disagree: usize,
}Expand description
Held-out passes the hidden oracle agreed with, or not.
Fields§
§agree: usizeThe oracle passed too.
disagree: usizeThe oracle failed: the held-out tests missed something.
Trait Implementations§
Source§impl Clone for HeldOutOracle
impl Clone for HeldOutOracle
Source§impl Debug for HeldOutOracle
impl Debug for HeldOutOracle
Source§impl JsonSchema for HeldOutOracle
impl JsonSchema for HeldOutOracle
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 HeldOutOracle
impl PartialEq for HeldOutOracle
Source§impl Serialize for HeldOutOracle
impl Serialize for HeldOutOracle
impl StructuralPartialEq for HeldOutOracle
Auto Trait Implementations§
impl Freeze for HeldOutOracle
impl RefUnwindSafe for HeldOutOracle
impl Send for HeldOutOracle
impl Sync for HeldOutOracle
impl Unpin for HeldOutOracle
impl UnsafeUnpin for HeldOutOracle
impl UnwindSafe for HeldOutOracle
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