pub struct PackIngestionLifecycleLog {
pub context: PackLogContext,
pub level: LogLevel,
pub message: String,
pub type_: PackIngestionLifecycleLogType,
}
Expand description
Pack log generated by an executing ingestion.
JSON schema
{
"description": "Pack log generated by an executing ingestion.",
"type": "object",
"required": [
"context",
"level",
"message",
"type"
],
"properties": {
"context": {
"$ref": "#/components/schemas/PackLogContext"
},
"level": {
"$ref": "#/components/schemas/LogLevel"
},
"message": {
"description": "The message that's passed into context.logger.",
"examples": [
"The formula is called!"
],
"type": "string"
},
"type": {
"type": "string",
"enum": [
"ingestionLifecycle"
],
"x-tsType": "PackLogType.IngestionLifecycle"
}
},
"additionalProperties": false,
"x-schema-name": "PackIngestionLifecycleLog"
}
Fields§
§context: PackLogContext
§level: LogLevel
§message: String
The message that’s passed into context.logger.
type_: PackIngestionLifecycleLogType
Trait Implementations§
Source§impl Clone for PackIngestionLifecycleLog
impl Clone for PackIngestionLifecycleLog
Source§fn clone(&self) -> PackIngestionLifecycleLog
fn clone(&self) -> PackIngestionLifecycleLog
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 PackIngestionLifecycleLog
impl Debug for PackIngestionLifecycleLog
Source§impl<'de> Deserialize<'de> for PackIngestionLifecycleLog
impl<'de> Deserialize<'de> for PackIngestionLifecycleLog
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<&PackIngestionLifecycleLog> for PackIngestionLifecycleLog
impl From<&PackIngestionLifecycleLog> for PackIngestionLifecycleLog
Source§fn from(value: &PackIngestionLifecycleLog) -> Self
fn from(value: &PackIngestionLifecycleLog) -> Self
Converts to this type from the input type.
Source§impl From<PackIngestionLifecycleLog> for PackLog
impl From<PackIngestionLifecycleLog> for PackLog
Source§fn from(value: PackIngestionLifecycleLog) -> Self
fn from(value: PackIngestionLifecycleLog) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackIngestionLifecycleLog
impl RefUnwindSafe for PackIngestionLifecycleLog
impl Send for PackIngestionLifecycleLog
impl Sync for PackIngestionLifecycleLog
impl Unpin for PackIngestionLifecycleLog
impl UnwindSafe for PackIngestionLifecycleLog
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