Returns the token content as a string (lossy UTF-8 conversion).
(&self)
| 95 | |
| 96 | /// Returns the token content as a string (lossy UTF-8 conversion). |
| 97 | pub fn content_str(&self) -> String { |
| 98 | String::from_utf8_lossy(&self.content).into_owned() |
| 99 | } |
| 100 | |
| 101 | /// Returns true if the token is alive (not deleted). |
| 102 | pub fn is_alive(&self) -> bool { |
no outgoing calls
no test coverage detected