GoodMemGoodMem
ReferenceSdkRustTypes

ServiceIdentityResponse

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

All types

Struct ServiceIdentityResponse

goodmem::models::ServiceIdentityResponse

A durable production workload identity. Credentials, grants, and roles are separate resources and are not included.

pub struct ServiceIdentityResponse {
    pub service_identity_id: String,
    pub display_name: String,
    pub description: Option<String>,
    pub owner_principal_id: String,
    pub creator_principal_id: String,
    pub labels: BTreeMap<String, String>,
    pub deleted_at: Option<i64>,
    pub deleted_by_id: Option<String>,
    pub created_at: i64,
    pub updated_at: i64,
    pub created_by_id: String,
    pub updated_by_id: String,
}

Fields

service_identity_id

pub service_identity_id: String

OUTPUT_ONLY; immutable service-identity UUID. Wire name: serviceIdentityId.

display_name

pub display_name: String

OUTPUT_ONLY; unique operator-facing display name. Wire name: displayName.

description

pub description: Option<String>

OUTPUT_ONLY; optional operator description. Wire name: description.

owner_principal_id

pub owner_principal_id: String

OUTPUT_ONLY; current administrative owner principal UUID. Wire name: ownerPrincipalId.

creator_principal_id

pub creator_principal_id: String

OUTPUT_ONLY; immutable HUMAN creator-principal UUID. Wire name: creatorPrincipalId.

labels

pub labels: BTreeMap<String, String>

OUTPUT_ONLY; mutable labels. At most 20 entries; keys and values contain at most 255 characters; keys use [a-z0-9._-]. Wire name: labels.

deleted_at

pub deleted_at: Option<i64>

OUTPUT_ONLY; permanent deletion time in milliseconds, absent while active. Wire name: deletedAt.

deleted_by_id

pub deleted_by_id: Option<String>

OUTPUT_ONLY; exact deleting actor UUID, absent while active. Wire name: deletedById.

created_at

pub created_at: i64

OUTPUT_ONLY; creation time in milliseconds since the epoch. Wire name: createdAt.

updated_at

pub updated_at: i64

OUTPUT_ONLY; most recent mutation time in milliseconds since the epoch. Wire name: updatedAt.

created_by_id

pub created_by_id: String

OUTPUT_ONLY; exact creating actor UUID. Wire name: createdById.

updated_by_id

pub updated_by_id: String

OUTPUT_ONLY; exact actor UUID for the most recent mutation. Wire name: updatedById.

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

On this page