Struct criterion_table::TablesConfig
source · [−]pub struct TablesConfig {
pub comments: Option<FlexStr>,
pub table_comments: HashMap<FlexStr, FlexStr>,
}Expand description
Configuration file format loaded by Serde
Fields
comments: Option<FlexStr>table_comments: HashMap<FlexStr, FlexStr>Implementations
sourceimpl TablesConfig
impl TablesConfig
sourcepub fn try_load_config(r: impl Read) -> Result<Self>
pub fn try_load_config(r: impl Read) -> Result<Self>
Try to load the config from the given reader
Trait Implementations
sourceimpl Default for TablesConfig
impl Default for TablesConfig
sourcefn default() -> TablesConfig
fn default() -> TablesConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TablesConfig
impl<'de> Deserialize<'de> for TablesConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TablesConfig
impl !Send for TablesConfig
impl !Sync for TablesConfig
impl Unpin for TablesConfig
impl UnwindSafe for TablesConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more