[][src]Trait tarantool_module::tuple::AsTuple

pub trait AsTuple: Serialize {
    fn serialize_as_tuple(&self) -> Result<TupleBuffer, Error> { ... }
}

Must be implemented for types, which will be used with box access methods as data

Provided methods

fn serialize_as_tuple(&self) -> Result<TupleBuffer, Error>

Describes how object can be converted to Tuple.

Has default implementation, but can be overloaded for special cases

Loading content...

Implementations on Foreign Types

impl AsTuple for ()[src]

impl<T> AsTuple for (T,) where
    T: Serialize
[src]

impl<T> AsTuple for Vec<T> where
    T: Serialize
[src]

impl<Ta, Tb> AsTuple for (Ta, Tb) where
    Ta: Serialize,
    Tb: Serialize
[src]

impl<Ta, Tb, Tc> AsTuple for (Ta, Tb, Tc) where
    Ta: Serialize,
    Tb: Serialize,
    Tc: Serialize
[src]

impl<Ta, Tb, Tc, Td> AsTuple for (Ta, Tb, Tc, Td) where
    Ta: Serialize,
    Tb: Serialize,
    Tc: Serialize,
    Td: Serialize
[src]

Loading content...

Implementors

Loading content...