Crates.io | sob |
lib.rs | sob |
version | 0.0.1 |
source | src |
created_at | 2023-12-22 02:30:25.495631 |
updated_at | 2023-12-22 02:30:25.495631 |
description | Serializable Owned/Borrow. `Cow`-like type with no `Clone` requirement, implements Serialize and Deserialize |
homepage | |
repository | https://github.com/tomokao/sob |
max_upload_size | |
id | 1077978 |
size | 4,688 |
Serializable Owned/Borrowed
Sob
is a type similar to Cow
but without the Clone
trait requirement for the inner type.
In practice, Sob
should only be used when you need to serialize and deserialize a Cow
and the inner type does not implement Clone
.