pub struct SdkLog {
pub level: LogLevel,
pub message: String,
pub timestamp: u64,
pub operation: String,
pub chain: Option<String>,
pub transaction_hash: Option<String>,
pub context: Option<Value>,
}Expand description
Structured log entry for SDK operations
Fields§
§level: LogLevel§message: String§timestamp: u64§operation: String§chain: Option<String>§transaction_hash: Option<String>§context: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SdkLog
impl<'de> Deserialize<'de> for SdkLog
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
Auto Trait Implementations§
impl Freeze for SdkLog
impl RefUnwindSafe for SdkLog
impl Send for SdkLog
impl Sync for SdkLog
impl Unpin for SdkLog
impl UnwindSafe for SdkLog
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