Skip to main content

encode_cursor

Function encode_cursor 

Source
pub fn encode_cursor(cursor: &Cursor) -> String
Expand description

Encode a Cursor as a base64url string suitable for the --page / next field. The encoding is base64(JSON) so the token is opaque to the caller.