pub fn as_bool(&self) -> Option<bool> {
        match self {
            AttributeValue::Bool(b) => Some(*b),
            _ => None,
        }
    }
/// Returns None unless self is a bool. It will not convert.
Returns None unless self is a bool. It will not convert.
Returns None unless self is a bool . It will not convert .
pub fn as_bool(&self) -> Option<bool> {
        match self {
            AttributeValue::Bool(b) => Some(*b),
            _ => None,
        }
    }
pub fn as_bool ( & self ) -> Option < bool > { match self { AttributeValue :: Bool ( b ) => Some ( * b ) , _ => None , } }
Returns None unless self is a bool.
Returns None unless self is a bool .
&self
&self