[−][src]Module brawl_api::traits
Traits used by the library. Those are of mostly internal use and normally shouldn't need implementation by some user-made type.
Note that it is recommended to always import this module for things to work fine, such as
using X::fetch
methods, where X
is any model implementing PropFetchable
or
PropLimFetchable
(there are some that do not implement either, and rather have their own
implementation of a fetch
function, because they have 3 or more parameters).
Re-exports
pub use propfetch::*; |
pub use proplimfetch::*; |
Modules
propfetch | |
proplimfetch |
Traits
FetchFrom | A trait indicating that another type can be converted into this one by fetching from the API.
Note that, thanks to a blanket implementation, implementing this implies implementing
|
FetchInto | A trait indicating that this type can be converted into another by fetching from the API.
Note that |
Refetchable | A trait representing a type whose instance can be fetched again.
Note that all types implementing |