pub struct PackMcpLogError {
pub message: String,
pub stack: Option<String>,
}Expand description
Error info if this invocation resulted in an error.
JSON schema
{
"description": "Error info if this invocation resulted in an error.",
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": "string"
},
"stack": {
"type": "string"
}
},
"additionalProperties": false
}Fields§
§message: String§stack: Option<String>Trait Implementations§
Source§impl Clone for PackMcpLogError
impl Clone for PackMcpLogError
Source§fn clone(&self) -> PackMcpLogError
fn clone(&self) -> PackMcpLogError
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 PackMcpLogError
impl Debug for PackMcpLogError
Source§impl<'de> Deserialize<'de> for PackMcpLogError
impl<'de> Deserialize<'de> for PackMcpLogError
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<&PackMcpLogError> for PackMcpLogError
impl From<&PackMcpLogError> for PackMcpLogError
Source§fn from(value: &PackMcpLogError) -> Self
fn from(value: &PackMcpLogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackMcpLogError
impl RefUnwindSafe for PackMcpLogError
impl Send for PackMcpLogError
impl Sync for PackMcpLogError
impl Unpin for PackMcpLogError
impl UnwindSafe for PackMcpLogError
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