Struct opentelemetry::StringValue
source · 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
impl From<StringValue> for AnyValue
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 Ord for StringValue
impl Ord for StringValue
source§fn cmp(&self, other: &StringValue) -> Ordering
fn cmp(&self, other: &StringValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for StringValue
impl PartialEq for StringValue
source§impl PartialOrd for StringValue
impl PartialOrd 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)