pub struct DynamicCase {
pub id: String,
pub source: String,
pub split: Split,
pub question: DynamicQuestion,
pub label: Label,
pub adversarial: bool,
pub subgroups: Vec<String>,
}Fields§
§id: String§source: StringOpaque identity of where the case came from.
split: Split§question: DynamicQuestion§label: LabelThe expected label or level, or an explicit statement there is none.
adversarial: boolInstruction, role, tool, URL or schema-like text placed in a caller-controlled field on purpose.
subgroups: Vec<String>Trait Implementations§
Source§impl Clone for DynamicCase
impl Clone for DynamicCase
Source§impl Debug for DynamicCase
impl Debug for DynamicCase
Source§impl<'de> Deserialize<'de> for DynamicCase
impl<'de> Deserialize<'de> for DynamicCase
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 DynamicCase
Source§impl PartialEq for DynamicCase
impl PartialEq for DynamicCase
Source§impl Serialize for DynamicCase
impl Serialize for DynamicCase
impl StructuralPartialEq for DynamicCase
Auto Trait Implementations§
impl Freeze for DynamicCase
impl RefUnwindSafe for DynamicCase
impl Send for DynamicCase
impl Sync for DynamicCase
impl Unpin for DynamicCase
impl UnsafeUnpin for DynamicCase
impl UnwindSafe for DynamicCase
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