Struct LogAttribute
pub struct LogAttribute(pub Value);
Expand description
An attribute that can be attached to a log.
Tuple Fields§
§0: Value
Trait Implementations§
§impl Clone for LogAttribute
impl Clone for LogAttribute
§fn clone(&self) -> LogAttribute
fn clone(&self) -> LogAttribute
Returns a copy 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 more§impl Debug for LogAttribute
impl Debug for LogAttribute
§impl<'de> Deserialize<'de> for LogAttribute
impl<'de> Deserialize<'de> for LogAttribute
§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
§impl<T> From<T> for LogAttribute
impl<T> From<T> for LogAttribute
§fn from(value: T) -> LogAttribute
fn from(value: T) -> LogAttribute
Converts to this type from the input type.
§impl PartialEq for LogAttribute
impl PartialEq for LogAttribute
§impl Serialize for LogAttribute
impl Serialize for LogAttribute
§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