caffeine_lang/identifiers

Types

Expectation label identifier.

pub type ExpectationLabel {
  ExpectationLabel(value: String)
}

Constructors

  • ExpectationLabel(value: String)

Measurement name identifier.

pub type MeasurementName {
  MeasurementName(value: String)
}

Constructors

  • MeasurementName(value: String)

Type-safe wrappers for string identifiers used in IR metadata. These non-opaque newtypes prevent accidental mixing of org, team, service, measurement, and expectation names at construction boundaries while keeping unwrapping lightweight via pattern matching. Organization name identifier.

pub type OrgName {
  OrgName(value: String)
}

Constructors

  • OrgName(value: String)

Service name identifier.

pub type ServiceName {
  ServiceName(value: String)
}

Constructors

  • ServiceName(value: String)

Team name identifier.

pub type TeamName {
  TeamName(value: String)
}

Constructors

  • TeamName(value: String)
Search Document