pub struct GpqaDiamondAdapter { /* private fields */ }Expand description
GPQA Diamond adapter for the accuracy measurement.
Implementations§
Source§impl GpqaDiamondAdapter
impl GpqaDiamondAdapter
Sourcepub fn new() -> Result<Self, AdapterError>
pub fn new() -> Result<Self, AdapterError>
Create a new GPQA Diamond adapter with the canonical endpoint.
Sourcepub fn with_endpoint(endpoint: Url) -> Self
pub fn with_endpoint(endpoint: Url) -> Self
Create a GPQA Diamond adapter with a custom endpoint (for testing).
Trait Implementations§
Source§impl Default for GpqaDiamondAdapter
impl Default for GpqaDiamondAdapter
Source§impl Source for GpqaDiamondAdapter
impl Source for GpqaDiamondAdapter
Source§type Raw = GpqaDiamondRaw
type Raw = GpqaDiamondRaw
The native schema for this source’s upstream data.
Source§type Error = AdapterError
type Error = AdapterError
Error type for parse/to_evidence failures.
Auto Trait Implementations§
impl Freeze for GpqaDiamondAdapter
impl RefUnwindSafe for GpqaDiamondAdapter
impl Send for GpqaDiamondAdapter
impl Sync for GpqaDiamondAdapter
impl Unpin for GpqaDiamondAdapter
impl UnsafeUnpin for GpqaDiamondAdapter
impl UnwindSafe for GpqaDiamondAdapter
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