pub struct PackInternalLog {
pub context: PackLogContext,
pub level: LogLevel,
pub message: String,
pub type_: PackInternalLogType,
}
Expand description
Coda internal logs from the packs infrastructure. Only visible to Codans.
JSON schema
{
"description": "Coda internal logs from the packs infrastructure. Only
visible to Codans.",
"type": "object",
"required": [
"context",
"level",
"message",
"type"
],
"properties": {
"context": {
"$ref": "#/components/schemas/PackLogContext"
},
"level": {
"$ref": "#/components/schemas/LogLevel"
},
"message": {
"description": "The log message.",
"type": "string"
},
"type": {
"type": "string",
"enum": [
"internal"
],
"x-tsType": "PackLogType.Internal"
}
},
"additionalProperties": false,
"x-schema-name": "PackInternalLog"
}
Fields§
§context: PackLogContext
§level: LogLevel
§message: String
The log message.
type_: PackInternalLogType
Trait Implementations§
Source§impl Clone for PackInternalLog
impl Clone for PackInternalLog
Source§fn clone(&self) -> PackInternalLog
fn clone(&self) -> PackInternalLog
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 PackInternalLog
impl Debug for PackInternalLog
Source§impl<'de> Deserialize<'de> for PackInternalLog
impl<'de> Deserialize<'de> for PackInternalLog
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<&PackInternalLog> for PackInternalLog
impl From<&PackInternalLog> for PackInternalLog
Source§fn from(value: &PackInternalLog) -> Self
fn from(value: &PackInternalLog) -> Self
Converts to this type from the input type.
Source§impl From<PackInternalLog> for PackLog
impl From<PackInternalLog> for PackLog
Source§fn from(value: PackInternalLog) -> Self
fn from(value: PackInternalLog) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackInternalLog
impl RefUnwindSafe for PackInternalLog
impl Send for PackInternalLog
impl Sync for PackInternalLog
impl Unpin for PackInternalLog
impl UnwindSafe for PackInternalLog
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