[][src]Trait license_key::Serializer

pub trait Serializer {
    fn serialize(key: &LicenseKey) -> String;
fn deserialize(input: &str) -> Vec<u8>; }

Represents a license key serializer.

Required methods

fn serialize(key: &LicenseKey) -> String

Serializes a license key to a string.

fn deserialize(input: &str) -> Vec<u8>

Deserializes a license key into a byte vector.

Loading content...

Implementors

impl Serializer for HexFormat[src]

Loading content...