pub struct LocalCallId(/* private fields */);Expand description
A call id rig issued: a random (v4) UUID.
Implementations§
Source§impl LocalCallId
impl LocalCallId
Sourcepub fn new() -> LocalCallId
pub fn new() -> LocalCallId
A fresh id.
Trait Implementations§
Source§impl Clone for LocalCallId
impl Clone for LocalCallId
Source§fn clone(&self) -> LocalCallId
fn clone(&self) -> LocalCallId
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 moreimpl Copy for LocalCallId
Source§impl Debug for LocalCallId
impl Debug for LocalCallId
Source§impl Default for LocalCallId
impl Default for LocalCallId
Source§fn default() -> LocalCallId
fn default() -> LocalCallId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocalCallId
impl<'de> Deserialize<'de> for LocalCallId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocalCallId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocalCallId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LocalCallId
impl Display for LocalCallId
impl Eq for LocalCallId
Source§impl From<LocalCallId> for CallId
impl From<LocalCallId> for CallId
Source§fn from(local: LocalCallId) -> CallId
fn from(local: LocalCallId) -> CallId
Converts to this type from the input type.
Source§impl Hash for LocalCallId
impl Hash for LocalCallId
Source§impl Ord for LocalCallId
impl Ord for LocalCallId
Source§fn cmp(&self, other: &LocalCallId) -> Ordering
fn cmp(&self, other: &LocalCallId) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LocalCallId
impl PartialEq for LocalCallId
Source§impl PartialOrd for LocalCallId
impl PartialOrd for LocalCallId
Source§impl Serialize for LocalCallId
impl Serialize for LocalCallId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LocalCallId
Auto Trait Implementations§
impl Freeze for LocalCallId
impl RefUnwindSafe for LocalCallId
impl Send for LocalCallId
impl Sync for LocalCallId
impl Unpin for LocalCallId
impl UnsafeUnpin for LocalCallId
impl UnwindSafe for LocalCallId
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.