pub struct DriveOutcome {
pub root_validity: Option<SchemaValidity>,
pub max_depth: usize,
}Expand description
Final outcome of a successful drive call.
Validation diagnostics are reported through the runtime’s
ValidationSink, not through this struct.
Fields§
§root_validity: Option<SchemaValidity>Validity of the root element after validate_end_element.
None if the stream contained no elements.
max_depth: usizeMaximum element depth observed.
Trait Implementations§
Source§impl Clone for DriveOutcome
impl Clone for DriveOutcome
Source§fn clone(&self) -> DriveOutcome
fn clone(&self) -> DriveOutcome
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 moreAuto Trait Implementations§
impl Freeze for DriveOutcome
impl RefUnwindSafe for DriveOutcome
impl Send for DriveOutcome
impl Sync for DriveOutcome
impl Unpin for DriveOutcome
impl UnsafeUnpin for DriveOutcome
impl UnwindSafe for DriveOutcome
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