[][src]Struct casperlabs_engine_shared::logging::log_message::MessageProperties

pub struct MessageProperties(_);

Methods

impl MessageProperties[src]

pub fn new(properties: BTreeMap<String, String>) -> MessageProperties[src]

pub fn get_formatted_message(&self, message_template: &str) -> String[src]

strips out brace encased motes in message_template and applies them as candidate keys for the encapsulated collection of message properties. the underlying value of any candidate key that has an entry in the collection will be spliced into the output in the place of its corresponding brace encased candidate key

Trait Implementations

impl Clone for MessageProperties[src]

impl Debug for MessageProperties[src]

impl Hash for MessageProperties[src]

impl Serialize for MessageProperties[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,