[−][src]Trait jsonschema_valid::schemas::Draft
Required methods
fn get_validator(
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
fn get_schema(&self) -> &'static Value
fn get_format_checker(
&self,
format: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>
&self,
format: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>
fn get_draft_number(&self) -> u8
Implementors
impl Draft for Draft4
[src]
fn get_validator(
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
[src]
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
fn get_schema(&self) -> &'static Value
[src]
fn get_format_checker(
&self,
key: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>
[src]
&self,
key: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>
fn get_draft_number(&self) -> u8
[src]
impl Draft for Draft6
[src]
fn get_validator(
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
[src]
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
fn get_schema(&self) -> &'static Value
[src]
fn get_format_checker(
&self,
key: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>
[src]
&self,
key: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>
fn get_draft_number(&self) -> u8
[src]
impl Draft for Draft7
[src]
fn get_validator(
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
[src]
&self,
key: &str
) -> Option<fn(cfg: &Config, instance: &Value, schema: &Value, parent_schema: &Map<String, Value>, instance_ctx: &Context, schema_ctx: &Context, ref_ctx: &Context, errors: &mut dyn ErrorRecorder) -> Option<()>>
fn get_schema(&self) -> &'static Value
[src]
fn get_format_checker(
&self,
key: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>
[src]
&self,
key: &str
) -> Option<fn(cfg: &Config, value: &str) -> bool>