Trait serde_bytes::Deserialize
source · pub trait Deserialize<'de>: Sized {
// Required method
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>;
}
Expand description
Types that can be deserialized via #[serde(with = "serde_bytes")]
.
Required Methods§
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Object Safety§
This trait is not object safe.