logo
pub trait ServiceParams {
    fn put<T: ToParam>(&mut self, key: &str, val: T);
    fn put_key(&mut self, key: &str);
}
Expand description

Key:value pair for an service parameter.

Required Methods

Add a new paramater with a key and val

  • key - The key of the parameter to add.
  • val - The value of the paramater to add.

Add a new paramater with a key

Implementors