1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::types::option_variant::OptionVariant;
use crate::Value;

impl From<OptionVariant> for Value {

    fn from(value: OptionVariant) -> Self {
        Self::OptionVariant(value)
    }
}

impl From<&OptionVariant> for Value {

    fn from(value: &OptionVariant) -> Self {
        Self::OptionVariant(value.clone())
    }
}