Change EncryptedRequest 'id' field to String (#336)

* change ID field in encrypted request/response to be a string of any kind

* Use JsonId Enum instead of String value
This commit is contained in:
Yeastplume
2020-02-18 12:28:08 +00:00
committed by GitHub
parent b2c973fd0b
commit da064acc33
7 changed files with 183 additions and 75 deletions
+1 -1
View File
@@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Sane serialization & deserialization of cryptographic structs into hex
/// Serializes an OnionV3Address to and from hex
pub mod option_ov3_serde {
use serde::de::Error;