#[non_exhaustive]pub struct TestCaseFeedback {
pub comment_id: Option<u32>,
pub karma: Karma,
pub testcase: TestCase,
pub testcase_id: u32,
pub extra: HashMap<String, Value>,
}Expand description
data type that represents a feedback item for a test case that is associated with an update
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.comment_id: Option<u32>ID of the comment that this feedback is associated with
karma: Karmafeedback karma (positive, neutral, negative)
testcase: TestCasetest case that this feedback is associated with
testcase_id: u32ID of the test case that this feedback is associated with
extra: HashMap<String, Value>catch-all for fields that are not explicitly deserialized
Trait Implementations§
Source§impl Debug for TestCaseFeedback
impl Debug for TestCaseFeedback
Source§impl<'de> Deserialize<'de> for TestCaseFeedback
impl<'de> Deserialize<'de> for TestCaseFeedback
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 Display for TestCaseFeedback
impl Display for TestCaseFeedback
Auto Trait Implementations§
impl Freeze for TestCaseFeedback
impl RefUnwindSafe for TestCaseFeedback
impl Send for TestCaseFeedback
impl Sync for TestCaseFeedback
impl Unpin for TestCaseFeedback
impl UnsafeUnpin for TestCaseFeedback
impl UnwindSafe for TestCaseFeedback
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