pub struct Config {
pub use_hashable_map: bool,
}Expand description
Configuration for bare_schema code generation.
Fields§
§use_hashable_map: boolWhen true, generated maps use rivet_util::serde::HashableMap.
Implementations§
Source§impl Config
impl Config
Sourcepub fn with_hash_map() -> Self
pub fn with_hash_map() -> Self
Convenience constructor to emit HashMap rather than HashableMap.
Sourcepub fn with_hashable_map() -> Self
pub fn with_hashable_map() -> Self
Convenience constructor to emit HashableMap.
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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