pub struct GenericIssueDetails {
pub error_type: GenericIssueErrorType,
pub frame_id: Option<FrameId>,
pub violating_node_id: Option<BackendNodeId>,
pub violating_node_attribute: Option<String>,
pub request: Option<AffectedRequest>,
}
Expand description
Depending on the concrete errorType, different properties are set. GenericIssueDetails
Fields§
§error_type: GenericIssueErrorType
Issues with the same errorType are aggregated in the frontend.
frame_id: Option<FrameId>
§violating_node_id: Option<BackendNodeId>
§violating_node_attribute: Option<String>
§request: Option<AffectedRequest>
Implementations§
Source§impl GenericIssueDetails
impl GenericIssueDetails
pub fn new(error_type: impl Into<GenericIssueErrorType>) -> GenericIssueDetails
Source§impl GenericIssueDetails
impl GenericIssueDetails
pub fn builder() -> GenericIssueDetailsBuilder
Source§impl GenericIssueDetails
impl GenericIssueDetails
pub const IDENTIFIER: &'static str = "Audits.GenericIssueDetails"
Trait Implementations§
Source§impl Clone for GenericIssueDetails
impl Clone for GenericIssueDetails
Source§fn clone(&self) -> GenericIssueDetails
fn clone(&self) -> GenericIssueDetails
Returns a copy 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 moreSource§impl Debug for GenericIssueDetails
impl Debug for GenericIssueDetails
Source§impl<'de> Deserialize<'de> for GenericIssueDetails
impl<'de> Deserialize<'de> for GenericIssueDetails
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GenericIssueDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GenericIssueDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GenericIssueDetails
impl PartialEq for GenericIssueDetails
Source§impl Serialize for GenericIssueDetails
impl Serialize for GenericIssueDetails
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GenericIssueDetails
Auto Trait Implementations§
impl Freeze for GenericIssueDetails
impl RefUnwindSafe for GenericIssueDetails
impl Send for GenericIssueDetails
impl Sync for GenericIssueDetails
impl Unpin for GenericIssueDetails
impl UnwindSafe for GenericIssueDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more