pub struct PromptModuleId(/* private fields */);Expand description
Canonical prompt-module identity.
Implementations§
Trait Implementations§
Source§impl Clone for PromptModuleId
impl Clone for PromptModuleId
Source§fn clone(&self) -> PromptModuleId
fn clone(&self) -> PromptModuleId
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 PromptModuleId
impl Debug for PromptModuleId
Source§impl<'de> Deserialize<'de> for PromptModuleId
impl<'de> Deserialize<'de> for PromptModuleId
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 Display for PromptModuleId
impl Display for PromptModuleId
impl Eq for PromptModuleId
Source§impl FromStr for PromptModuleId
impl FromStr for PromptModuleId
Source§impl Hash for PromptModuleId
impl Hash for PromptModuleId
Source§impl Ord for PromptModuleId
impl Ord for PromptModuleId
Source§fn cmp(&self, other: &PromptModuleId) -> Ordering
fn cmp(&self, other: &PromptModuleId) -> 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 PromptModuleId
impl PartialEq for PromptModuleId
Source§impl PartialOrd for PromptModuleId
impl PartialOrd for PromptModuleId
Source§impl Serialize for PromptModuleId
impl Serialize for PromptModuleId
impl StructuralPartialEq for PromptModuleId
Auto Trait Implementations§
impl Freeze for PromptModuleId
impl RefUnwindSafe for PromptModuleId
impl Send for PromptModuleId
impl Sync for PromptModuleId
impl Unpin for PromptModuleId
impl UnsafeUnpin for PromptModuleId
impl UnwindSafe for PromptModuleId
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