[][src]Trait exonum_api::ExtendApiBackend

pub trait ExtendApiBackend {
    fn extend<'a, I>(self, items: I) -> Self
    where
        I: IntoIterator<Item = (&'a str, &'a ApiScope)>
; }

API backend extender.

This trait enables implementing additional API scopes, besides the built-in private and public scopes.

Required methods

fn extend<'a, I>(self, items: I) -> Self where
    I: IntoIterator<Item = (&'a str, &'a ApiScope)>, 

Extend API backend by the given scopes.

Loading content...

Implementations on Foreign Types

impl ExtendApiBackend for Scope[src]

Loading content...

Implementors

Loading content...