Struct leetcode_rust::models::case::TestCase
source · pub struct TestCase<T, G> {
pub input: T,
pub expectation: G,
}
Fields§
§input: T
§expectation: G
Trait Implementations§
source§impl<'de, T, G> Deserialize<'de> for TestCase<T, G>where
T: Deserialize<'de>,
G: Deserialize<'de>,
impl<'de, T, G> Deserialize<'de> for TestCase<T, G>where
T: Deserialize<'de>,
G: Deserialize<'de>,
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