Expand description
§TCF String library which (currently only) decodes a given TCString
NOTE: This is not an official IAB library
General usage
ⓘ
use std::convert::TryFrom;
// returns a Result which contains a TcModel V2
let tc_model_v2 = lib_tcstring::TcModelV2::try_from("COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA");Structs§
- Publisher
Restriction  - Publisher restriction which overrides the specified purpose
 - TcModel
V2  TcModelV2contains all relevant fields specified in theVendor Consent String Format V2except for theVersionfield which is omitted
Enums§
- Publisher
Restriction Type  - Contains restriction types as defined in 
Vendor Consent String Format V2 Core String - TcsError
 - Errors that can occur while decoding the TCString