Struct serde_with::Same [−][src]
pub struct Same;
Expand description
Adapter to convert from serde_as
to the serde traits.
This is the counter-type to As
.
It can be used whenever a type implementing DeserializeAs
/SerializeAs
is required but the normal Deserialize
/Serialize
traits should be used.
Check As
for an example.
Trait Implementations
Deserialize this value from the given Serde deserializer.
Serialize this value into the given Serde serializer.
Auto Trait Implementations
impl RefUnwindSafe for Same
impl UnwindSafe for Same
Blanket Implementations
Mutably borrows from an owned value. Read more