Struct cjval::CJValidator
source · [−]pub struct CJValidator { /* private fields */ }
Implementations
sourceimpl CJValidator
impl CJValidator
pub fn from_str(str_dataset: &str) -> Result<Self, String>
pub fn add_one_extension_from_str(
&mut self,
ext_schema_name: &str,
ext_schema_str: &str
) -> Result<()>
sourcepub fn has_extensions(&self) -> Option<Vec<String>>
pub fn has_extensions(&self) -> Option<Vec<String>>
Does the CityJSON contain Extension(s)?
pub fn get_extensions(&self) -> &HashMap<String, Value>
pub fn get_input_cityjson_version(&self) -> i32
pub fn get_cityjson_schema_version(&self) -> String
pub fn validate_schema(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn validate_extensions(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn extra_root_properties(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn parent_children_consistency(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn duplicate_vertices(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn wrong_vertex_index(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn unused_vertices(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn semantics_arrays(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CJValidator
impl Send for CJValidator
impl Sync for CJValidator
impl Unpin for CJValidator
impl UnwindSafe for CJValidator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more