#[non_exhaustive]pub struct CoreNetworkPolicyError {
pub error_code: Option<String>,
pub message: Option<String>,
pub path: Option<String>,
}
Expand description
Provides details about an error in a core network policy.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.error_code: Option<String>
The error code associated with a core network policy error.
message: Option<String>
The message associated with a core network policy error code.
path: Option<String>
The JSON path where the error was discovered in the policy document.
Implementations
The error code associated with a core network policy error.
The message associated with a core network policy error code.
Creates a new builder-style object to manufacture CoreNetworkPolicyError
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CoreNetworkPolicyError
impl Send for CoreNetworkPolicyError
impl Sync for CoreNetworkPolicyError
impl Unpin for CoreNetworkPolicyError
impl UnwindSafe for CoreNetworkPolicyError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more