pub struct PromptCacheStateSegment { /* private fields */ }Expand description
One named contiguous state range in a portable prompt-cache identity.
Implementations§
Trait Implementations§
Source§impl Clone for PromptCacheStateSegment
impl Clone for PromptCacheStateSegment
Source§fn clone(&self) -> PromptCacheStateSegment
fn clone(&self) -> PromptCacheStateSegment
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 PromptCacheStateSegment
impl Debug for PromptCacheStateSegment
Source§impl<'de> Deserialize<'de> for PromptCacheStateSegment
impl<'de> Deserialize<'de> for PromptCacheStateSegment
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 PromptCacheStateSegment
Source§impl Hash for PromptCacheStateSegment
impl Hash for PromptCacheStateSegment
Source§impl PartialEq for PromptCacheStateSegment
impl PartialEq for PromptCacheStateSegment
Source§impl Serialize for PromptCacheStateSegment
impl Serialize for PromptCacheStateSegment
impl StructuralPartialEq for PromptCacheStateSegment
Auto Trait Implementations§
impl Freeze for PromptCacheStateSegment
impl RefUnwindSafe for PromptCacheStateSegment
impl Send for PromptCacheStateSegment
impl Sync for PromptCacheStateSegment
impl Unpin for PromptCacheStateSegment
impl UnsafeUnpin for PromptCacheStateSegment
impl UnwindSafe for PromptCacheStateSegment
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