pub struct SystemParamRegistry { /* private fields */ }Implementations§
Source§impl SystemParamRegistry
impl SystemParamRegistry
pub fn new() -> Self
pub fn set_param( &self, tenant: &str, key: impl Into<String>, value: SystemParamValue, )
pub fn set_default_param(&self, key: impl Into<String>, value: SystemParamValue)
pub fn get_param( &self, tenant: Option<&str>, key: &str, ) -> Option<SystemParamValue>
pub fn get_f64(&self, tenant: Option<&str>, key: &str) -> Option<f64>
Trait Implementations§
Source§impl Debug for SystemParamRegistry
impl Debug for SystemParamRegistry
Source§impl Default for SystemParamRegistry
impl Default for SystemParamRegistry
Source§fn default() -> SystemParamRegistry
fn default() -> SystemParamRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SystemParamRegistry
impl !RefUnwindSafe for SystemParamRegistry
impl Send for SystemParamRegistry
impl Sync for SystemParamRegistry
impl Unpin for SystemParamRegistry
impl UnwindSafe for SystemParamRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more