Struct inspect::InspectionBuilder
source · pub struct InspectionBuilder<'a> { /* private fields */ }
Expand description
A builder for an inspection request.
Implementations§
source§impl<'a> InspectionBuilder<'a>
impl<'a> InspectionBuilder<'a>
sourcepub fn depth(self, depth: Option<usize>) -> Self
pub fn depth(self, depth: Option<usize>) -> Self
Sets the maximum depth of the inspection request.
sourcepub fn sensitivity(self, sensitivity: Option<SensitivityLevel>) -> Self
pub fn sensitivity(self, sensitivity: Option<SensitivityLevel>) -> Self
Sets the SensitivityLevel
of the inspection request.
sourcepub fn inspect(self, obj: impl InspectMut) -> Inspection
pub fn inspect(self, obj: impl InspectMut) -> Inspection
Inspects obj
for state at the initially given path
.
Auto Trait Implementations§
impl<'a> Freeze for InspectionBuilder<'a>
impl<'a> RefUnwindSafe for InspectionBuilder<'a>
impl<'a> Send for InspectionBuilder<'a>
impl<'a> Sync for InspectionBuilder<'a>
impl<'a> Unpin for InspectionBuilder<'a>
impl<'a> UnwindSafe for InspectionBuilder<'a>
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