pub struct ToolCallId(/* private fields */);Implementations§
Source§impl ToolCallId
impl ToolCallId
pub fn new(value: u64) -> Result<ToolCallId, EnvelopeError>
pub const fn get(self) -> u64
Trait Implementations§
Source§impl Clone for ToolCallId
impl Clone for ToolCallId
Source§fn clone(&self) -> ToolCallId
fn clone(&self) -> ToolCallId
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 ToolCallId
Source§impl Debug for ToolCallId
impl Debug for ToolCallId
Source§impl Display for ToolCallId
impl Display for ToolCallId
impl Eq for ToolCallId
Source§impl FromStr for ToolCallId
impl FromStr for ToolCallId
Source§type Err = EnvelopeError
type Err = EnvelopeError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<ToolCallId, <ToolCallId as FromStr>::Err>
fn from_str(value: &str) -> Result<ToolCallId, <ToolCallId as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ToolCallId
impl Hash for ToolCallId
Source§impl Ord for ToolCallId
impl Ord for ToolCallId
Source§fn cmp(&self, other: &ToolCallId) -> Ordering
fn cmp(&self, other: &ToolCallId) -> 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 ToolCallId
impl PartialEq for ToolCallId
Source§impl PartialOrd for ToolCallId
impl PartialOrd for ToolCallId
impl StructuralPartialEq for ToolCallId
Auto Trait Implementations§
impl Freeze for ToolCallId
impl RefUnwindSafe for ToolCallId
impl Send for ToolCallId
impl Sync for ToolCallId
impl Unpin for ToolCallId
impl UnsafeUnpin for ToolCallId
impl UnwindSafe for ToolCallId
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
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.