pub struct InspectorIssueBuilder { /* private fields */ }Expand description
Builder for InspectorIssue.
Implementations§
Source§impl InspectorIssueBuilder
impl InspectorIssueBuilder
pub fn code<VALUE: Into<InspectorIssueCode>>( &mut self, value: VALUE, ) -> &mut Self
pub fn details<VALUE: Into<InspectorIssueDetails>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn issue_id<VALUE: Into<IssueId>>(&mut self, value: VALUE) -> &mut Self
pub fn issue_id<VALUE: Into<IssueId>>(&mut self, value: VALUE) -> &mut Self
A unique id for this issue. May be omitted if no other entity (e.g. exception, CDP message, etc.) is referencing this issue.
Sourcepub fn build(&self) -> Result<InspectorIssue, InspectorIssueBuilderError>
pub fn build(&self) -> Result<InspectorIssue, InspectorIssueBuilderError>
Trait Implementations§
Source§impl Clone for InspectorIssueBuilder
impl Clone for InspectorIssueBuilder
Source§fn clone(&self) -> InspectorIssueBuilder
fn clone(&self) -> InspectorIssueBuilder
Returns a duplicate of the value. Read more
1.0.0 · 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 InspectorIssueBuilder
impl RefUnwindSafe for InspectorIssueBuilder
impl Send for InspectorIssueBuilder
impl Sync for InspectorIssueBuilder
impl Unpin for InspectorIssueBuilder
impl UnsafeUnpin for InspectorIssueBuilder
impl UnwindSafe for InspectorIssueBuilder
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