pub struct LogAttribute(pub Value);
Expand description
An attribute that can be attached to a log.
Tuple Fields§
§0: Value
Trait Implementations§
Source§impl Clone for LogAttribute
impl Clone for LogAttribute
Source§fn clone(&self) -> LogAttribute
fn clone(&self) -> LogAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogAttribute
impl Debug for LogAttribute
Source§impl<'de> Deserialize<'de> for LogAttribute
impl<'de> Deserialize<'de> for LogAttribute
Source§fn deserialize<D>(
deserializer: D,
) -> Result<LogAttribute, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<LogAttribute, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> From<T> for LogAttribute
impl<T> From<T> for LogAttribute
Source§fn from(value: T) -> LogAttribute
fn from(value: T) -> LogAttribute
Converts to this type from the input type.
Source§impl PartialEq for LogAttribute
impl PartialEq for LogAttribute
Source§impl Serialize for LogAttribute
impl Serialize for LogAttribute
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LogAttribute
Auto Trait Implementations§
impl Freeze for LogAttribute
impl RefUnwindSafe for LogAttribute
impl Send for LogAttribute
impl Sync for LogAttribute
impl Unpin for LogAttribute
impl UnwindSafe for LogAttribute
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