Struct opentelemetry::StringValue
source · [−]pub struct StringValue(_);
Expand description
Wrapper for string-like values
Implementations
sourceimpl StringValue
impl StringValue
Trait Implementations
sourceimpl AsRef<str> for StringValue
impl AsRef<str> for StringValue
sourceimpl Clone for StringValue
impl Clone for StringValue
sourcefn clone(&self) -> StringValue
fn clone(&self) -> StringValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StringValue
impl Debug for StringValue
sourceimpl Display for StringValue
impl Display for StringValue
sourceimpl From<&'static str> for StringValue
impl From<&'static str> for StringValue
sourcefn from(s: &'static str) -> StringValue
fn from(s: &'static str) -> StringValue
Converts to this type from the input type.
sourceimpl From<Arc<str>> for StringValue
impl From<Arc<str>> for StringValue
sourcefn from(s: Arc<str>) -> StringValue
fn from(s: Arc<str>) -> StringValue
Converts to this type from the input type.
sourceimpl From<Cow<'static, str>> for StringValue
impl From<Cow<'static, str>> for StringValue
sourcefn from(s: Cow<'static, str>) -> StringValue
fn from(s: Cow<'static, str>) -> StringValue
Converts to this type from the input type.
sourceimpl From<String> for StringValue
impl From<String> for StringValue
sourcefn from(s: String) -> StringValue
fn from(s: String) -> StringValue
Converts to this type from the input type.
sourceimpl From<StringValue> for Value
impl From<StringValue> for Value
sourcefn from(t: StringValue) -> Value
fn from(t: StringValue) -> Value
Converts to this type from the input type.
sourceimpl Hash for StringValue
impl Hash for StringValue
sourceimpl PartialEq<StringValue> for StringValue
impl PartialEq<StringValue> for StringValue
sourcefn eq(&self, other: &StringValue) -> bool
fn eq(&self, other: &StringValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for StringValue
impl StructuralEq for StringValue
impl StructuralPartialEq for StringValue
Auto Trait Implementations
impl RefUnwindSafe for StringValue
impl Send for StringValue
impl Sync for StringValue
impl Unpin for StringValue
impl UnwindSafe for StringValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.