Skip to main content

RosterHydrations

Trait RosterHydrations 

Source
pub trait RosterHydrations: Hydrations {
    type Person: Debug + DeserializeOwned + PartialEq + Clone;
}
Expand description

A type that is made with roster_hydrations!

Required Associated Types§

Source

type Person: Debug + DeserializeOwned + PartialEq + Clone

NamedPerson when no hydrations are present and Person when they are.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl RosterHydrations for ()

Implementors§