[][src]Trait diesel::backend::BinaryRawValue

pub trait BinaryRawValue<'a>: HasRawValue<'a> {
    fn as_bytes(value: Self::RawValue) -> &'a [u8];
}

A trait indicating that the provided raw value uses a binary representation internally

Required methods

fn as_bytes(value: Self::RawValue) -> &'a [u8]

Get the underlying binary representation of the raw value

Loading content...

Implementors

impl<'a> BinaryRawValue<'a> for Pg[src]

Loading content...