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

A type that can return a Header.

Required Methods§

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

Returns the header for this instance.

Implementors§

§

impl HasHeader for Header

§

impl HasHeader for OwnedDocument

§

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

§

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

§

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