AttributeArrayValueSlice

Type Alias AttributeArrayValueSlice 

Source
pub type AttributeArrayValueSlice<'a> = AttributeArrayValue<&'a str>;

Aliased Type§

pub enum AttributeArrayValueSlice<'a> {
    String(&'a str),
    Boolean(bool),
    Integer(i64),
    Double(f64),
}

Variants§

§

String(&'a str)

§

Boolean(bool)

§

Integer(i64)

§

Double(f64)

Implementations§

Source§

impl AttributeArrayValueSlice<'_>

Source

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.