Crate borsh[−][src]
Re-exports
pub use de::BorshDeserialize; | |
pub use schema::BorshSchema; | |
pub use schema_helpers::try_from_slice_with_schema; | |
pub use schema_helpers::try_to_vec_with_schema; | |
pub use ser::BorshSerialize; |
Modules
de | |
maybestd | A facade around all the types we need from the |
schema | Since Borsh is not a self-descriptive format we have a way to describe types serialized with Borsh so that
we can deserialize serialized blobs without having Rust types available. Additionally, this can be used to
serialize content provided in a different format, e.g. JSON object |
schema_helpers | |
ser |
Functions
to_vec | Serialize an object into a vector of bytes. |
to_writer | Serializes an object directly into a |
Derive Macros
BorshDeserialize | |
BorshSchema | |
BorshSerialize |