pub struct Annotation { /* private fields */ }Expand description
A Zipkin-compatible Annotation object.
Implementations§
Source§impl Annotation
impl Annotation
Sourcepub fn builder() -> Builder<TimestampStage>
pub fn builder() -> Builder<TimestampStage>
Returns a new builder.
Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
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 Annotation
impl Debug for Annotation
Source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Annotation> for Builder<Complete>
impl From<Annotation> for Builder<Complete>
Source§fn from(v: Annotation) -> Self
fn from(v: Annotation) -> Self
Converts to this type from the input type.
Source§impl Hash for Annotation
impl Hash for Annotation
Source§impl Ord for Annotation
impl Ord for Annotation
Source§fn cmp(&self, other: &Annotation) -> Ordering
fn cmp(&self, other: &Annotation) -> 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 Annotation
impl PartialEq for Annotation
Source§impl PartialOrd for Annotation
impl PartialOrd for Annotation
Source§impl Serialize for Annotation
impl Serialize for Annotation
impl Eq for Annotation
impl StructuralPartialEq for Annotation
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
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