ReferenceSdkRustTypes
SpaceKey
Rust struct goodmem::models::SpaceKey: declaration, fields or variants, and implementations.
Struct SpaceKey
goodmem::models::SpaceKey
Space configuration for retrieval operations with optional embedder weight overrides.
pub struct SpaceKey {
pub space_id: String,
pub embedder_weights: Option<Vec<EmbedderWeight>>,
pub filter: Option<String>,
}Referenced types: EmbedderWeight.
Fields
space_id
pub space_id: String
The UUID for the space to search.
Wire name: spaceId.
embedder_weights
pub embedder_weights: Option<Vec<EmbedderWeight>>
Optional per-embedder weight overrides for this space. If not specified, database defaults are used.
Wire name: embedderWeights.
filter
pub filter: Option<String>
Optional filter expression that must evaluate to true for memories in this space.
Wire name: filter.
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 SpaceKeyimpl std::fmt::Debug for SpaceKey