GoodMemGoodMem
ReferenceSdkRustTypes

BatchMemoryRetrievalRequest

Rust struct goodmem::models::BatchMemoryRetrievalRequest: declaration, fields or variants, and implementations.

All types

Struct BatchMemoryRetrievalRequest

goodmem::models::BatchMemoryRetrievalRequest

Request body for retrieving multiple memories by their IDs

pub struct BatchMemoryRetrievalRequest {
    pub memory_ids: Vec<String>,
    pub include_content: Option<bool>,
    pub include_processing_history: Option<bool>,
}

Fields

memory_ids

pub memory_ids: Vec<String>

Array of memory IDs to retrieve Wire name: memoryIds.

include_content

pub include_content: Option<bool>

Whether to include the original content in the response Wire name: includeContent.

include_processing_history

pub include_processing_history: Option<bool>

Whether to include background job processing history for each memory Wire name: includeProcessingHistory.

Implementations

validate

pub fn validate(&self) -> crate::Result<()>

Validate the request before sending, without making an HTTP call.

Trait implementations

  • Clone (derived)
  • Default (derived)
  • PartialEq (derived)
  • Serialize (derived)
  • impl<'de> Deserialize<'de> for BatchMemoryRetrievalRequest
  • impl std::fmt::Debug for BatchMemoryRetrievalRequest

On this page