pub struct ContextPackCellResponse {
pub cell_id: u64,
pub estimated_tokens: u32,
pub citation: Option<String>,
pub payload_text: String,
pub explain: Option<ExplainResponse>,
pub source_ref: Option<SourceRefResponse>,
pub provenance: Option<ContextSpanProvenanceResponse>,
pub access_decision: Option<ContextAccessDecisionResponse>,
}Fields§
§cell_id: u64§estimated_tokens: u32§citation: Option<String>§payload_text: String§explain: Option<ExplainResponse>§source_ref: Option<SourceRefResponse>§provenance: Option<ContextSpanProvenanceResponse>§access_decision: Option<ContextAccessDecisionResponse>Trait Implementations§
Source§impl Clone for ContextPackCellResponse
impl Clone for ContextPackCellResponse
Source§fn clone(&self) -> ContextPackCellResponse
fn clone(&self) -> ContextPackCellResponse
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 ContextPackCellResponse
impl Debug for ContextPackCellResponse
Source§impl<'de> Deserialize<'de> for ContextPackCellResponse
impl<'de> Deserialize<'de> for ContextPackCellResponse
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 ContextPackCellResponse
Source§impl PartialEq for ContextPackCellResponse
impl PartialEq for ContextPackCellResponse
Source§fn eq(&self, other: &ContextPackCellResponse) -> bool
fn eq(&self, other: &ContextPackCellResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextPackCellResponse
impl Serialize for ContextPackCellResponse
impl StructuralPartialEq for ContextPackCellResponse
Auto Trait Implementations§
impl Freeze for ContextPackCellResponse
impl RefUnwindSafe for ContextPackCellResponse
impl Send for ContextPackCellResponse
impl Sync for ContextPackCellResponse
impl Unpin for ContextPackCellResponse
impl UnsafeUnpin for ContextPackCellResponse
impl UnwindSafe for ContextPackCellResponse
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