GoodMemGoodMem
ReferenceSdkRustTypes

ListDecisionModelsResponse

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

All types

Struct ListDecisionModelsResponse

goodmem::models::ListDecisionModelsResponse

One page of decision models that you have permission to read.

pub struct ListDecisionModelsResponse {
    pub decision_models: Vec<DecisionModelResponse>,
    pub next_page_token: Option<String>,
    pub total_count: i64,
}

Referenced types: DecisionModelResponse.

Fields

decision_models

pub decision_models: Vec<DecisionModelResponse>

Decision models ordered by creation time, newest first, with UUID descending to break ties. Wire name: decisionModels.

next_page_token

pub next_page_token: Option<String>

Token to pass as pageToken in the next request. Omitted when there are no more results. Wire name: nextPageToken.

total_count

pub total_count: i64

Total number of models that match the filters and that you have permission to read, across all pages. Wire name: totalCount.

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 ListDecisionModelsResponse
  • impl std::fmt::Debug for ListDecisionModelsResponse

On this page