pub struct ExtensionKey(/* private fields */);Expand description
Namespaced extension key (e.g. openai.seed).
Implementations§
Trait Implementations§
Source§impl Clone for ExtensionKey
impl Clone for ExtensionKey
Source§fn clone(&self) -> ExtensionKey
fn clone(&self) -> ExtensionKey
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 ExtensionKey
impl Debug for ExtensionKey
Source§impl<'de> Deserialize<'de> for ExtensionKey
impl<'de> Deserialize<'de> for ExtensionKey
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
impl Eq for ExtensionKey
Source§impl Hash for ExtensionKey
impl Hash for ExtensionKey
Source§impl Ord for ExtensionKey
impl Ord for ExtensionKey
Source§fn cmp(&self, other: &ExtensionKey) -> Ordering
fn cmp(&self, other: &ExtensionKey) -> 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 ExtensionKey
impl PartialEq for ExtensionKey
Source§impl PartialOrd for ExtensionKey
impl PartialOrd for ExtensionKey
Source§impl Serialize for ExtensionKey
impl Serialize for ExtensionKey
impl StructuralPartialEq for ExtensionKey
Auto Trait Implementations§
impl Freeze for ExtensionKey
impl RefUnwindSafe for ExtensionKey
impl Send for ExtensionKey
impl Sync for ExtensionKey
impl Unpin for ExtensionKey
impl UnsafeUnpin for ExtensionKey
impl UnwindSafe for ExtensionKey
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