#[non_exhaustive]pub struct StringValue(/* private fields */);
Available on crate feature
telemetry
only.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 duplicate 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§fn from(s: &'static str) -> StringValue
fn from(s: &'static str) -> StringValue
Converts to this type from the input type.
Source§impl From<String> for StringValue
impl From<String> for StringValue
Source§fn from(s: String) -> StringValue
fn from(s: String) -> StringValue
Converts to this type from the input type.
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 Value
impl From<StringValue> for Value
Source§fn from(t: StringValue) -> Value
fn from(t: StringValue) -> Value
Converts to this type from the input type.
Source§impl From<Value> for StringValue
impl From<Value> for StringValue
Source§fn from(s: Value) -> StringValue
fn from(s: Value) -> StringValue
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