pub type AttributeArrayValueSlice<'a> = AttributeArrayValue<&'a str>;Aliased Type§
pub enum AttributeArrayValueSlice<'a> {
String(&'a str),
Boolean(bool),
Integer(i64),
Double(f64),
}Variants§
Implementations§
Source§impl AttributeArrayValueSlice<'_>
impl AttributeArrayValueSlice<'_>
Sourcepub fn try_to_bytes(&self, bytes: &Bytes) -> Option<AttributeArrayValueBytes>
pub fn try_to_bytes(&self, bytes: &Bytes) -> Option<AttributeArrayValueBytes>
Converts a single AttributeArrayValueSlice item into its owned form
(AttributeArrayValueBytes), borrowing data from the provided Bytes buffer when
necessary.