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