pub struct FindingBuilder { /* private fields */ }Implementations§
Source§impl FindingBuilder
impl FindingBuilder
pub fn severity(self, s: Severity) -> Self
pub fn confidence(self, c: Confidence) -> Self
pub fn location(self, loc: SourceLocation) -> Self
pub fn explanation(self, e: impl Into<String>) -> Self
pub fn failure_scenario(self, e: impl Into<String>) -> Self
pub fn remediation(self, e: impl Into<String>) -> Self
pub fn evidence( self, kind: impl Into<String>, detail: impl Into<String>, ) -> Self
pub fn context(self, c: CodeContext) -> Self
pub fn fix_hint(self, h: impl Into<String>) -> Self
pub fn id(self, id: impl Into<String>) -> Self
pub fn build(self) -> Finding
Auto Trait Implementations§
impl Freeze for FindingBuilder
impl RefUnwindSafe for FindingBuilder
impl Send for FindingBuilder
impl Sync for FindingBuilder
impl Unpin for FindingBuilder
impl UnsafeUnpin for FindingBuilder
impl UnwindSafe for FindingBuilder
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