Other items inborsh
pub fn to_vec<T: ?Sized>(value: &T) -> Result<Vec<u8>> where T: BorshSerialize,
Serialize an object into a vector of bytes.