[−][src]Struct casual_logger::Table
TOML table included in the log file. Do not validate.
Implementations
impl Table
[src]
pub fn format_str_value(value: &str) -> String
[src]
👎 Deprecated since 0.4.1:
This is private method
Deprecated.
廃止。
pub fn literal<'a>(&'a mut self, key: &'a str, value: &str) -> &'a mut Self
[src]
Insert literal string value. Do not put in quotes.
リテラル文字列を挿入します。引用符で挟みません。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn str<'a>(&'a mut self, key: &'a str, value: &str) -> &'a mut Self
[src]
pub fn char<'a>(&'a mut self, key: &'a str, value: char) -> &'a mut Self
[src]
Insert character value.
文字を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn int<'a>(&'a mut self, key: &'a str, value: i128) -> &'a mut Self
[src]
Insert integer value.
符号付き整数を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn uint<'a>(&'a mut self, key: &'a str, value: u128) -> &'a mut Self
[src]
Insert unsigned integer value.
符号無し整数を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn float<'a>(&'a mut self, key: &'a str, value: f64) -> &'a mut Self
[src]
Insert float value.
浮動小数点数を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn bool<'a>(&'a mut self, key: &'a str, value: bool) -> &'a mut Self
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,