pub fn deserialize_price(bytes: &[u8]) -> Result<Price, Box<dyn Error>>
Deserializes a [Price] from Cap’n Proto bytes.
Price
Returns an error if Cap’n Proto deserialization fails.