# Trait flechasdb::protos::Serialize

source ·

    pub trait Serialize<M>where
        M: Message,{
        // Required method
        fn serialize(&self) -> Result<M, Error>;
    }

Expand description

Represents a type that can be serialized as a message.

## Required Methods§

source

#### fn serialize(&self) -> Result<M, Error>

Serializes as a message.

## Implementations on Foreign Types§

source§

### impl Serialize<Uuid> for Uuid

source§

#### fn serialize(&self) -> Result<Uuid, Error>

## Implementors§

source§

### impl Serialize<AttributeValue> for AttributeValue

source§

### impl Serialize<EncodedVectorSet> for BlockVectorSet<u32>

source§

### impl Serialize<Partition> for Partition<f32>

source§

### impl Serialize<VectorSet> for BlockVectorSet<f32>

source§

### impl<'a, VS> Serialize<Database> for DatabaseSerialize<'a, f32, VS>where VS: VectorSet<f32>,