(This(this): This<Value>)
| 246 | } |
| 247 | |
| 248 | pub fn optional_has_value(This(this): This<Value>) -> Result<bool> { |
| 249 | Ok(<&OptionalValue>::try_from(&this)?.value().is_some()) |
| 250 | } |
| 251 | |
| 252 | pub fn optional_or_optional(This(this): This<Value>, other: Value) -> Result<Value> { |
| 253 | let this_opt: &OptionalValue = (&this).try_into()?; |