pub enum JsonWireStyle {
JsCamel,
PythonSnake,
}Expand description
JSON object key style for WASM (camelCase) vs Python (snake_case) bindings.
Variants§
JsCamel
JavaScript / wasm-bindgen (camelCase keys).
PythonSnake
Python formspec_rust surface (snake_case keys).
Trait Implementations§
Source§impl Clone for JsonWireStyle
impl Clone for JsonWireStyle
impl Copy for JsonWireStyle
Source§impl Debug for JsonWireStyle
impl Debug for JsonWireStyle
impl Eq for JsonWireStyle
Source§impl PartialEq for JsonWireStyle
impl PartialEq for JsonWireStyle
impl StructuralPartialEq for JsonWireStyle
Auto Trait Implementations§
impl Forget for JsonWireStyle
impl Freeze for JsonWireStyle
impl RefUnwindSafe for JsonWireStyle
impl Send for JsonWireStyle
impl Sync for JsonWireStyle
impl Unpin for JsonWireStyle
impl UnsafeUnpin for JsonWireStyle
impl UnwindSafe for JsonWireStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.