#[non_exhaustive]pub struct StringValue(/* private fields */);
Expand description
Wrapper for string-like values
Implementations§
Trait Implementations§
Source§impl AsRef<str> for StringValue
impl AsRef<str> for StringValue
Source§impl Clone for StringValue
impl Clone for StringValue
Source§fn clone(&self) -> StringValue
fn clone(&self) -> StringValue
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 moreSource§impl Debug for StringValue
impl Debug for StringValue
Source§impl Display for StringValue
impl Display for StringValue
Source§impl From<&'static str> for StringValue
impl From<&'static str> for StringValue
Source§impl From<String> for StringValue
impl From<String> for StringValue
Source§impl From<StringValue> for AnyValue
Available on crate feature logs
only.
impl From<StringValue> for AnyValue
Available on crate feature
logs
only.Source§fn from(val: StringValue) -> AnyValue
fn from(val: StringValue) -> AnyValue
Converts to this type from the input type.
Source§impl From<StringValue> for String
impl From<StringValue> for String
Source§fn from(s: StringValue) -> Self
fn from(s: StringValue) -> Self
Converts to this type from the input type.
Source§impl From<StringValue> for Value
impl From<StringValue> for Value
Source§fn from(t: StringValue) -> Self
fn from(t: StringValue) -> Self
Converts to this type from the input type.
Source§impl Hash for StringValue
impl Hash for StringValue
Source§impl PartialEq for StringValue
impl PartialEq for StringValue
impl Eq for StringValue
impl StructuralPartialEq for StringValue
Auto Trait Implementations§
impl Freeze for StringValue
impl RefUnwindSafe for StringValue
impl Send for StringValue
impl Sync for StringValue
impl Unpin for StringValue
impl UnwindSafe for StringValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Available on crate feature
trace
only.Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Available on crate feature
trace
only.