pub struct ValidationPipeline { /* private fields */ }Expand description
Validation pipeline
Implementations§
Source§impl ValidationPipeline
impl ValidationPipeline
pub fn new() -> Self
pub fn with_limits(limits: ResourceLimits) -> Self
Sourcepub fn validate_document(&self, doc: &Document) -> ValidationResult
pub fn validate_document(&self, doc: &Document) -> ValidationResult
Validate a document
Sourcepub fn validate_block_id(&self, id: &str) -> Result<BlockId>
pub fn validate_block_id(&self, id: &str) -> Result<BlockId>
Validate a block ID format
Trait Implementations§
Source§impl Clone for ValidationPipeline
impl Clone for ValidationPipeline
Source§fn clone(&self) -> ValidationPipeline
fn clone(&self) -> ValidationPipeline
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidationPipeline
impl Debug for ValidationPipeline
Auto Trait Implementations§
impl Freeze for ValidationPipeline
impl RefUnwindSafe for ValidationPipeline
impl Send for ValidationPipeline
impl Sync for ValidationPipeline
impl Unpin for ValidationPipeline
impl UnwindSafe for ValidationPipeline
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