pub struct SchemaValidator { /* private fields */ }
Expand description
JSON Schemaバリデーター
Implementations§
Source§impl SchemaValidator
impl SchemaValidator
Sourcepub fn validate_process_network(&self, network: &ProcessNetwork) -> Result<()>
pub fn validate_process_network(&self, network: &ProcessNetwork) -> Result<()>
ProcessNetworkデータを検証
Sourcepub fn validate_graph_instance(&self, graph: &GraphInstance) -> Result<()>
pub fn validate_graph_instance(&self, graph: &GraphInstance) -> Result<()>
GraphInstanceデータを検証
Sourcepub fn validate_rule_dpo(&self, rule: &RuleDPO) -> Result<()>
pub fn validate_rule_dpo(&self, rule: &RuleDPO) -> Result<()>
RuleDPOデータを検証
Sourcepub fn validate_with_detailed_report<T: Serialize>(
&self,
data: &T,
) -> ValidationReport
pub fn validate_with_detailed_report<T: Serialize>( &self, data: &T, ) -> ValidationReport
バリデーションエラーを詳細にレポート
Sourcepub fn schema_text(&self) -> &str
pub fn schema_text(&self) -> &str
スキーマテキストを取得
Sourcepub fn get_schema_version(&self) -> Result<String>
pub fn get_schema_version(&self) -> Result<String>
スキーマのバージョンを取得
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaValidator
impl !RefUnwindSafe for SchemaValidator
impl Send for SchemaValidator
impl Sync for SchemaValidator
impl Unpin for SchemaValidator
impl !UnwindSafe for SchemaValidator
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