pub fn as_u64(&self) -> Option<u64> {
        match *self {
            Value::U64(val) => Some(val),
            Value::U32(val) => Some(u64::from(val)),
            Value::U16(val) => Some(u64::from(val)),
            Value::U8(val) => Some(u64::from(val)),
            _ => None,
        }
    }
/// Returns the value as a `Some(u64)` if it is an unsigned int smaller than or equal to u64,
/// or `None` otherwise.
Returns the value as a `Some(u64)` if it is an unsigned int smaller than or equal to u64,
or `None` otherwise.
Returns the value as a ` Some ( u64 ) ` if it is an unsigned int smaller than or equal to u64 or ` None ` otherwise .
pub fn as_u64(&self) -> Option<u64> {
        match *self {
            Value::U64(val) => Some(val),
            Value::U32(val) => Some(u64::from(val)),
            Value::U16(val) => Some(u64::from(val)),
            Value::U8(val) => Some(u64::from(val)),
            _ => None,
        }
    }
pub fn as_u64 ( & self ) -> Option < u64 > { match * self { Value :: U64 ( val ) => Some ( val ) , Value :: U32 ( val ) => Some ( u64 :: from ( val ) ) , Value :: U16 ( val ) => Some ( u64 :: from ( val ) ) , Value :: U8 ( val ) => Some ( u64 :: from ( val ) ) , _ => None , } }
Returns the value as a `Some(u64)` if it is an unsigned int smaller than or equal to u64,
or `None` otherwise.
Returns the value as a ` Some ( u64 ) ` if it is an unsigned int smaller than or equal to u64 or ` None ` otherwise .
&self
&self