(&self, serializer: S)
| 100 | |
| 101 | impl Serialize for FieldValue { |
| 102 | fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> |
| 103 | where |
| 104 | S: serde::Serializer, |
| 105 | { |
| 106 | match self { |
| 107 | Self::Int(i) => serializer.serialize_i32(*i), |
| 108 | Self::String(s) => serializer.serialize_str(s), |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | impl<'de> Deserialize<'de> for FieldValue { |
nothing calls this directly
no outgoing calls
no test coverage detected