pub fn save(&self, identity: &AuthenticationCookie) {
        // Serialize the cookie to JSON first. This serialization should not fail.
        let cookie: String =
            serde_json::to_string(identity).expect("Could not serialize identity cookie");

        // Remember cookie.
        self.inner.remember(cookie)
    }
/// Save an identity object to the client's cookies.
Save an identity object to the client's cookies.
Save an identity object to the client ' s cookies .
pub fn save(&self, identity: &AuthenticationCookie) {
        // Serialize the cookie to JSON first. This serialization should not fail.
        let cookie: String =
            serde_json::to_string(identity).expect("Could not serialize identity cookie");
        // Remember cookie.
        self.inner.remember(cookie)
    }
pub fn save ( & self , identity : & AuthenticationCookie ) { // Serialize the cookie to JSON first. This serialization should not fail. let cookie : String = serde_json :: to_string ( identity ) . expect ( " " ) ; // Remember cookie. self . inner . remember ( cookie ) }
Save an identity object to the client's cookies.
Save an identity object to the client ' s cookies .
&self
identity
&AuthenticationCookie
&self
identity
&AuthenticationCookie