pub trait HasHeader {
    // Required method
    fn header(&self) -> Result<Header, Error>;
}
Expand description

A type that can return a Header.

Required Methods§

source

fn header(&self) -> Result<Header, Error>

Returns the header for this instance.

Implementors§

source§

impl HasHeader for Header

source§

impl HasHeader for OwnedDocument

source§

impl<'a> HasHeader for BorrowedDocument<'a>

source§

impl<C> HasHeader for CollectionDocument<C>where C: SerializedCollection,

source§

impl<PrimaryKey> HasHeader for CollectionHeader<PrimaryKey>where PrimaryKey: for<'k> Key<'k>,