Skip to main content

IntoJsonWithContext

Trait IntoJsonWithContext 

Source
pub trait IntoJsonWithContext<N>: Sized {
    // Required method
    fn into_json_with(self, context: &N) -> Value;
}

Required Methods§

Source

fn into_json_with(self, context: &N) -> Value

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IntoJsonWithContext<N>, N> IntoJsonWithContext<N> for IndexSet<T>

Source§

fn into_json_with(self, context: &N) -> Value

Source§

impl<T: IntoJsonWithContext<N>, N> IntoJsonWithContext<N> for Vec<T>

Source§

fn into_json_with(self, context: &N) -> Value

Implementors§