GoodMemGoodMem
ReferenceSdkRustTypes

ListUserEnrollmentsResponse

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

All types

Struct ListUserEnrollmentsResponse

goodmem::models::ListUserEnrollmentsResponse

One stable page of a human user's enrollment history.

pub struct ListUserEnrollmentsResponse {
    pub enrollments: Vec<UserEnrollmentResponse>,
    pub next_token: Option<String>,
}

Referenced types: UserEnrollmentResponse.

Fields

enrollments

pub enrollments: Vec<UserEnrollmentResponse>

OUTPUT_ONLY; enrollments ordered newest first. Wire name: enrollments.

next_token

pub next_token: Option<String>

OUTPUT_ONLY; opaque continuation token, absent after the final page. Wire name: nextToken.

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

On this page