pub fn dict(&self) -> Option<&Dict> {
        if let Self::Dict(d) = self {
            Some(&d)
        } else {
            None
        }
    }
/// Retrieve &Dict from a value in case it is a dict.
Retrieve &Dict from a value in case it is a dict.
Retrieve &Dict from a value in case it is a dict .
pub fn dict(&self) -> Option<&Dict> {
        if let Self::Dict(d) = self {
            Some(&d)
        } else {
            None
        }
    }
pub fn dict ( & self ) -> Option < & Dict > { if let Self :: Dict ( d ) = self { Some ( & d ) } else { None } }
Retrieve &Dict from a value in case it is a dict.
Retrieve &Dict from a value in case it is a dict .
&self
&self