pub struct AnnotationValue(/* private fields */);Expand description
A plain string annotation value.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for AnnotationValue
impl AsRef<str> for AnnotationValue
Source§impl Clone for AnnotationValue
impl Clone for AnnotationValue
Source§fn clone(&self) -> AnnotationValue
fn clone(&self) -> AnnotationValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnnotationValue
impl Debug for AnnotationValue
Source§impl Display for AnnotationValue
impl Display for AnnotationValue
Source§impl From<&str> for AnnotationValue
impl From<&str> for AnnotationValue
Source§impl From<String> for AnnotationValue
impl From<String> for AnnotationValue
Source§impl Hash for AnnotationValue
impl Hash for AnnotationValue
Source§impl Ord for AnnotationValue
impl Ord for AnnotationValue
Source§fn cmp(&self, other: &AnnotationValue) -> Ordering
fn cmp(&self, other: &AnnotationValue) -> Ordering
1.21.0 (const: unstable) · 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 AnnotationValue
impl PartialEq for AnnotationValue
Source§fn eq(&self, other: &AnnotationValue) -> bool
fn eq(&self, other: &AnnotationValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AnnotationValue
impl PartialOrd for AnnotationValue
impl Eq for AnnotationValue
impl StructuralPartialEq for AnnotationValue
Auto Trait Implementations§
impl Freeze for AnnotationValue
impl RefUnwindSafe for AnnotationValue
impl Send for AnnotationValue
impl Sync for AnnotationValue
impl Unpin for AnnotationValue
impl UnsafeUnpin for AnnotationValue
impl UnwindSafe for AnnotationValue
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