Struct rif::history::History [−][src]
pub struct History { /* fields omitted */ }
Expand description
Struct history of rif update messags
Hisotry stores vector of messages thus can be very large theoritically
Implementations
Read history struct from a file
Save history struct into a file
Add new history
After history’s length go over config’s capacity it automatically removes old update messages
Args
path
- Target file namemsg
- Message to add
Trait Implementations
fn 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