pub struct Codec { /* private fields */ }Implementations§
Source§impl Codec
impl Codec
pub fn new(options: Options) -> Result<Self>
pub fn encode_query(&self, style: &Style) -> Result<String>
pub fn decode_query(&self, query: &str) -> Result<Style>
pub fn json_to_query(&self, json: &str) -> Result<String>
pub fn query_to_json(&self, query: &str) -> Result<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Codec
impl RefUnwindSafe for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnsafeUnpin for Codec
impl UnwindSafe for Codec
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