pub trait Accessor {
// Required methods
fn get_boolean(&self) -> bool;
fn get_string(&self) -> String;
fn get_i32(&self) -> i32;
fn get_i64(&self) -> i64;
fn get_f32(&self) -> f32;
fn get_f64(&self) -> f64;
fn within(&self, namespace: &str) -> dyn Accessor;
}
Required Methods§
Sourcefn get_boolean(&self) -> bool
fn get_boolean(&self) -> bool
Default value: false
Sourcefn get_string(&self) -> String
fn get_string(&self) -> String
Default value: empty string