GoodMemGoodMem
ReferenceSdkRustTypes

CreateUserEnrollmentResponse

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

All types

Struct CreateUserEnrollmentResponse

goodmem::models::CreateUserEnrollmentResponse

New enrollment metadata and its one-time raw enrollment credential.

pub struct CreateUserEnrollmentResponse {
    pub enrollment: Box<UserEnrollmentResponse>,
    pub enrollment_token: String,
}

Referenced types: UserEnrollmentResponse.

Fields

enrollment

pub enrollment: Box<UserEnrollmentResponse>

OUTPUT_ONLY; non-secret metadata for the created enrollment. Wire name: enrollment.

enrollment_token

pub enrollment_token: String

OUTPUT_ONLY; one-time raw enrollment credential. Save and deliver it securely. Wire name: enrollmentToken.

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

On this page