pub struct LayoutPromptTokensDetails {
pub cached_tokens: Option<f64>,
}Expand description
Cached-token details returned for layout parsing.
Fields§
§cached_tokens: Option<f64>Number of cached prompt tokens.
Trait Implementations§
Source§impl Clone for LayoutPromptTokensDetails
impl Clone for LayoutPromptTokensDetails
Source§fn clone(&self) -> LayoutPromptTokensDetails
fn clone(&self) -> LayoutPromptTokensDetails
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 LayoutPromptTokensDetails
impl Debug for LayoutPromptTokensDetails
Source§impl<'de> Deserialize<'de> for LayoutPromptTokensDetails
impl<'de> Deserialize<'de> for LayoutPromptTokensDetails
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 StructuralPartialEq for LayoutPromptTokensDetails
Auto Trait Implementations§
impl Freeze for LayoutPromptTokensDetails
impl RefUnwindSafe for LayoutPromptTokensDetails
impl Send for LayoutPromptTokensDetails
impl Sync for LayoutPromptTokensDetails
impl Unpin for LayoutPromptTokensDetails
impl UnsafeUnpin for LayoutPromptTokensDetails
impl UnwindSafe for LayoutPromptTokensDetails
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