pub fn size(&self) -> usize {
        match self {
            Self::String(v) => std::mem::size_of::<Self>() + v.string_size(),
            _ => std::mem::size_of::<Self>(),
        }
    }
/// Return the size in bytes of this stats instance
Return the size in bytes of this stats instance
Return the size in bytes of this stats instance
pub fn size(&self) -> usize {
        match self {
            Self::String(v) => std::mem::size_of::<Self>() + v.string_size(),
            _ => std::mem::size_of::<Self>(),
        }
    }
pub fn size ( & self ) -> usize { match self { Self :: String ( v ) => std :: mem :: size_of :: < Self > ( ) + v . string_size ( ) , _ => std :: mem :: size_of :: < Self > ( ) , } }
Return the size in bytes of this stats instance
Return the size in bytes of this stats instance
&self
&self