pub struct ValidationOptions { /* private fields */ }Expand description
Options controlling Acta validation.
The fields are private so new validation controls can be added without exposing an unvalidated configuration structure.
Implementations§
Source§impl ValidationOptions
impl ValidationOptions
Sourcepub fn with_level(self, level: ValidationLevel) -> Self
pub fn with_level(self, level: ValidationLevel) -> Self
Return these options with the requested validation level.
Sourcepub fn with_limits(self, limits: Limits) -> Self
pub fn with_limits(self, limits: Limits) -> Self
Return these options with caller-supplied resource limits.
Sourcepub fn level(&self) -> ValidationLevel
pub fn level(&self) -> ValidationLevel
The selected validation level.
Trait Implementations§
Source§impl Clone for ValidationOptions
impl Clone for ValidationOptions
Source§fn clone(&self) -> ValidationOptions
fn clone(&self) -> ValidationOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValidationOptions
Source§impl Debug for ValidationOptions
impl Debug for ValidationOptions
Source§impl Default for ValidationOptions
impl Default for ValidationOptions
impl Eq for ValidationOptions
Source§impl PartialEq for ValidationOptions
impl PartialEq for ValidationOptions
impl StructuralPartialEq for ValidationOptions
Auto Trait Implementations§
impl Freeze for ValidationOptions
impl RefUnwindSafe for ValidationOptions
impl Send for ValidationOptions
impl Sync for ValidationOptions
impl Unpin for ValidationOptions
impl UnsafeUnpin for ValidationOptions
impl UnwindSafe for ValidationOptions
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