Skip to main content

dt_key

Function dt_key 

Source
pub fn dt_key(pre: impl AsRef<[u8]>, dts: impl AsRef<[u8]>) -> Vec<u8> ⓘ
Expand description

Returns bytes DB key from concatenation of ‘|’ qualified Base64 prefix bytes pre and bytes dts datetime string of extended tz aware ISO8601 datetime of event

§Parameters

  • pre - prefix bytes
  • dts - datetime string in ISO8601 format

§Returns

  • Vec<u8> - key formed by concatenating pre, “|”, and dts