use serde::{Serialize, Deserialize}; #[derive(Serialize, Deserialize, Clone, Debug)] pub struct DerivablePath { pub(crate) path: Vec, } // TODO: move DerivablePath into a models crate for clients to produce? /* impl DerivablePath { pub fn new(input: &[&[u8]]) -> DerivablePath { DerivablePath { path: input .iter() .map(|&word| { // perform path validation word.to_vec() }) .collect(), } } } */