pub struct LyteLog {
pub topics: [Option<Box<LyteLogTopic>>; 4],
pub data: Bytes,
}Fields§
§topics: [Option<Box<LyteLogTopic>>; 4]§data: BytesImplementations§
Source§impl LyteLog
impl LyteLog
pub fn new_from_tagged_value<V: Serialize>(tag: &str, value: &V) -> Self
pub fn tagged_value_topic(tag: &str) -> LyteLogTopic
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LyteLog
impl<'de> Deserialize<'de> for LyteLog
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 LyteLog
impl RefUnwindSafe for LyteLog
impl Send for LyteLog
impl Sync for LyteLog
impl Unpin for LyteLog
impl UnwindSafe for LyteLog
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