pub struct PackAuthLog {
pub context: PackLogContext,
pub error_message: Option<String>,
pub error_stack: Option<String>,
pub path: String,
pub type_: PackAuthLogType,
}
Expand description
System logs of Pack authentication requests.
JSON schema
{
"description": "System logs of Pack authentication requests.",
"type": "object",
"required": [
"context",
"path",
"type"
],
"properties": {
"context": {
"$ref": "#/components/schemas/PackLogContext"
},
"errorMessage": {
"description": "The error message.",
"type": "string"
},
"errorStack": {
"description": "The error stacktrace (internal only).",
"type": "string"
},
"path": {
"description": "The request path.",
"type": "string"
},
"type": {
"type": "string",
"enum": [
"auth"
],
"x-tsType": "PackLogType.Auth"
}
},
"additionalProperties": false,
"x-schema-name": "PackAuthLog"
}
Fields§
§context: PackLogContext
§error_message: Option<String>
The error message.
error_stack: Option<String>
The error stacktrace (internal only).
path: String
The request path.
type_: PackAuthLogType
Trait Implementations§
Source§impl Clone for PackAuthLog
impl Clone for PackAuthLog
Source§fn clone(&self) -> PackAuthLog
fn clone(&self) -> PackAuthLog
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 PackAuthLog
impl Debug for PackAuthLog
Source§impl<'de> Deserialize<'de> for PackAuthLog
impl<'de> Deserialize<'de> for PackAuthLog
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<&PackAuthLog> for PackAuthLog
impl From<&PackAuthLog> for PackAuthLog
Source§fn from(value: &PackAuthLog) -> Self
fn from(value: &PackAuthLog) -> Self
Converts to this type from the input type.
Source§impl From<PackAuthLog> for PackLog
impl From<PackAuthLog> for PackLog
Source§fn from(value: PackAuthLog) -> Self
fn from(value: PackAuthLog) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackAuthLog
impl RefUnwindSafe for PackAuthLog
impl Send for PackAuthLog
impl Sync for PackAuthLog
impl Unpin for PackAuthLog
impl UnwindSafe for PackAuthLog
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