pub struct SiemApiError {
pub error_type: String,
pub message: String,
pub status: Option<u16>,
pub provider: Option<String>,
}Expand description
Wire-safe error representation for InvokeCapability JSON payloads.
Fields§
§error_type: String§message: String§status: Option<u16>§provider: Option<String>Trait Implementations§
Source§impl Clone for SiemApiError
impl Clone for SiemApiError
Source§fn clone(&self) -> SiemApiError
fn clone(&self) -> SiemApiError
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 moreSource§impl Debug for SiemApiError
impl Debug for SiemApiError
Source§impl<'de> Deserialize<'de> for SiemApiError
impl<'de> Deserialize<'de> for SiemApiError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SiemError> for SiemApiError
impl From<&SiemError> for SiemApiError
Source§impl From<SiemApiError> for SiemError
impl From<SiemApiError> for SiemError
Source§fn from(err: SiemApiError) -> Self
fn from(err: SiemApiError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SiemApiError
impl RefUnwindSafe for SiemApiError
impl Send for SiemApiError
impl Sync for SiemApiError
impl Unpin for SiemApiError
impl UnsafeUnpin for SiemApiError
impl UnwindSafe for SiemApiError
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