#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::Document {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Document");
debug_struct.field("name", &self.name);
debug_struct.field("uri", &self.uri);
debug_struct.field("content", &self.content);
debug_struct.field("description", &self.description);
debug_struct.field("data_source", &self.data_source);
debug_struct.field("title", &self.title);
debug_struct.field("update_time", &self.update_time);
debug_struct.field("view", &self.view);
debug_struct.field("content_length_bytes", &self.content_length_bytes);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::SearchDocumentChunksRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("SearchDocumentChunksRequest");
debug_struct.field("query", &self.query);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("filter", &self.filter);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::SearchDocumentChunksResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("SearchDocumentChunksResponse");
debug_struct.field("results", &self.results);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetDocumentRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetDocumentRequest");
debug_struct.field("name", &self.name);
debug_struct.field("view", &self.view);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchGetDocumentsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchGetDocumentsRequest");
debug_struct.field("names", &self.names);
debug_struct.field("view", &self.view);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchGetDocumentsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchGetDocumentsResponse");
debug_struct.field("documents", &self.documents);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AnswerQueryRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnswerQueryRequest");
debug_struct.field("query", &self.query);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AnswerQueryResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnswerQueryResponse");
debug_struct.field("answer", &self.answer);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Answer {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Answer");
debug_struct.field("answer_text", &self.answer_text);
debug_struct.field("citations", &self.citations);
debug_struct.field("references", &self.references);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::answer::AnswerCitation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnswerCitation");
debug_struct.field("start_index", &self.start_index);
debug_struct.field("end_index", &self.end_index);
debug_struct.field("sources", &self.sources);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::answer::CitationSource {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CitationSource");
debug_struct.field("reference_index", &self.reference_index);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::answer::AnswerReference {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnswerReference");
debug_struct.field("content", &self.content);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::answer::DocumentReference {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DocumentReference");
debug_struct.field("document_chunk", &self.document_chunk);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DocumentChunk {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DocumentChunk");
debug_struct.field("parent", &self.parent);
debug_struct.field("id", &self.id);
debug_struct.field("content", &self.content);
debug_struct.field("document", &self.document);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}