pub struct TargetResponseBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> TargetResponseBuilder<S>
impl<S: State> TargetResponseBuilder<S>
Sourcepub fn build(self) -> TargetResponsewhere
S: IsComplete,
pub fn build(self) -> TargetResponsewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn check_severities(
self,
value: HashMap<String, CheckSeverity>,
) -> TargetResponseBuilder<SetCheckSeverities<S>>where
S::CheckSeverities: IsUnset,
pub fn check_severities(
self,
value: HashMap<String, CheckSeverity>,
) -> TargetResponseBuilder<SetCheckSeverities<S>>where
S::CheckSeverities: IsUnset,
Required.
How every check this reporter can file against this target is graded,
on the same terms as the top-level check_severities. Keyed by bare
check name, so a machine check and an application check of the same
name are each answered under the target they belong to.
Required.
This target’s effective tags, on the same terms as the top-level
tags.
Auto Trait Implementations§
impl<S> Freeze for TargetResponseBuilder<S>
impl<S> RefUnwindSafe for TargetResponseBuilder<S>
impl<S> Send for TargetResponseBuilder<S>
impl<S> Sync for TargetResponseBuilder<S>
impl<S> Unpin for TargetResponseBuilder<S>
impl<S> UnsafeUnpin for TargetResponseBuilder<S>
impl<S> UnwindSafe for TargetResponseBuilder<S>
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