pub struct CatalogSearchSucceeded {
pub candidates: Vec<CatalogCandidate>,
pub kind: CatalogSearchSucceededKind,
pub negotiated: CatalogNegotiatedContract,
pub search_id: String,
pub truncated: bool,
}Expand description
A completed catalog search: inert candidate summaries, each carrying a single-use handle.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§candidates: Vec<CatalogCandidate>Matching candidates, never more than the requested limit. All text is inert untrusted data.
kind: CatalogSearchSucceededKindDiscriminator: the search completed
negotiated: CatalogNegotiatedContractProtocol version and capabilities the runtime honoured.
search_id: StringPseudonymous identifier for this search, issued by the runtime or by the catalog authority it queried and never by the caller, so it cannot be forged or replayed to attribute an install to a search that never happened. Always present on a success, so a result set can be tied to the installs it leads to. It identifies a search rather than a person: it is derived from no user, account, device, or query data, and must never be joined with user identity to re-identify anyone.
truncated: boolWhether further matches existed beyond the requested limit.
Trait Implementations§
Source§impl Clone for CatalogSearchSucceeded
impl Clone for CatalogSearchSucceeded
Source§fn clone(&self) -> CatalogSearchSucceeded
fn clone(&self) -> CatalogSearchSucceeded
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more