pub struct TestCaseRow {
pub id: i32,
pub score: f64,
pub is_sample: bool,
pub position: i32,
pub description: Option<String>,
pub label: Option<String>,
}Expand description
DB query result for test case listing (id, score, position, is_sample).
Fields§
§id: i32§score: f64§is_sample: bool§position: i32§description: Option<String>§label: Option<String>Trait Implementations§
Source§impl Clone for TestCaseRow
impl Clone for TestCaseRow
Source§fn clone(&self) -> TestCaseRow
fn clone(&self) -> TestCaseRow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestCaseRow
impl Debug for TestCaseRow
Source§impl<'de> Deserialize<'de> for TestCaseRow
impl<'de> Deserialize<'de> for TestCaseRow
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
Auto Trait Implementations§
impl Freeze for TestCaseRow
impl RefUnwindSafe for TestCaseRow
impl Send for TestCaseRow
impl Sync for TestCaseRow
impl Unpin for TestCaseRow
impl UnsafeUnpin for TestCaseRow
impl UnwindSafe for TestCaseRow
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