pub enum ValueKind {
Json,
Binary,
}Expand description
Storage value encoding format | 存储值编码格式
Variants§
Json
Pure JSON text (no prefix, compatible with existing data) | 纯 JSON 文本(无前缀,兼容存量数据)
Binary
fory binary Base64-encoded with magic prefix | fory 二进制经 Base64 编码并带魔数前缀
Trait Implementations§
impl Copy for ValueKind
impl Eq for ValueKind
impl StructuralPartialEq for ValueKind
Auto Trait Implementations§
impl Freeze for ValueKind
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnsafeUnpin for ValueKind
impl UnwindSafe for ValueKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more