GoodMemGoodMem
ReferenceSdkRustTypes

ApiKeyAuthorityMode

Rust enum goodmem::models::ApiKeyAuthorityMode: declaration, fields or variants, and implementations.

All types

Enum ApiKeyAuthorityMode

goodmem::models::ApiKeyAuthorityMode

INHERIT_SUBJECT follows a human subject's live authority. SCOPED intersects the subject's live authority with an immutable, nonempty issuance ceiling.

pub enum ApiKeyAuthorityMode {
    InheritSubject,
    Scoped,
    UnknownValue,
}

Variants

InheritSubject

InheritSubject

Wire name: INHERIT_SUBJECT.

Scoped

Scoped

Wire name: SCOPED.

UnknownValue

UnknownValue

A value added by a newer server; rejected in outgoing requests. Default variant.

Trait implementations

  • Clone (derived)
  • Debug (derived)
  • Default (derived)
  • PartialEq (derived)
  • Eq (derived)
  • Serialize (derived)
  • Deserialize (derived)

On this page