(&self)
| 97 | |
| 98 | #[must_use] |
| 99 | pub fn as_bool(&self) -> Option<bool> { |
| 100 | match self { |
| 101 | Self::Bool(value) => Some(*value), |
| 102 | _ => None, |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | #[must_use] |
| 107 | pub fn as_i64(&self) -> Option<i64> { |
no outgoing calls
no test coverage detected