fn store_cookie(&self) -> String {
        // String::from("This is my cooky")
        // let ser = ::serde_json::to_string(self).expect("Could not serialize");
        ::serde_json::to_string(self).expect("Could not serialize")
    }
/// The store_cookie() method should contain code that
/// converts the specified data structure into a string
/// 
/// This is likely to be achieved using one of the serde
/// serialization crates.  Personally I would use either
/// serde_json or serde's messagepack implementation ( rmp-serde [rmps]).
/// 
/// Json is portable and human readable.  
/// 
/// MsgPack is a binary format, and while not human readable is more
/// compact and efficient.
The store_cookie() method should contain code that
converts the specified data structure into a string

This is likely to be achieved using one of the serde
serialization crates.  Personally I would use either
serde_json or serde's messagepack implementation ( rmp-serde [rmps]).

Json is portable and human readable.

MsgPack is a binary format, and while not human readable is more
compact and efficient.
The store_cookie () method should contain code that converts the specified data structure into a string This is likely to be achieved using one of the serde serialization crates . Personally I would use either serde_json or serde ' s messagepack implementation ( rmp - serde [ rmps ] ) . Json is portable and human readable . MsgPack is a binary format and while not human readable is more compact and efficient .
fn store_cookie(&self) -> String {
        // String::from("This is my cooky")
        // let ser = ::serde_json::to_string(self).expect("Could not serialize");
        ::serde_json::to_string(self).expect("Could not serialize")
    }
fn store_cookie ( & self ) -> String { // String::from("This is my cooky") // let ser = ::serde_json::to_string(self).expect("Could not serialize"); :: serde_json :: to_string ( self ) . expect ( " " ) }
The store_cookie() method should contain code that
converts the specified data structure into a string
The store_cookie () method should contain code that converts the specified data structure into a string
&self
&self