Skip to content

identity

Structs

  • RunIdentity - Deterministic identity tuple associated with a firma run execution.

Struct

Deterministic identity tuple associated with a firma run execution.

Values are generated once per execution and then reused everywhere in the runtime to keep attribution stable.

Fields:

  • sandbox_id: String
  • session_id: String
  • profile: String

Methods:

  • fn new<impl Into<String>>(profile: impl Trait) -> Self - Create a new run identity for a profile.
  • fn env_pairs(self: &Self) -> BTreeMap<String, String> - Environment variables injected into the wrapped process for
  • fn attribution_headers(self: &Self) -> BTreeMap<String, String> - Header-style attribution keys suitable for transport bridges.

Traits: Eq

Trait Implementations:

  • Clone
    • fn clone(self: &Self) -> RunIdentity
  • PartialEq
    • fn eq(self: &Self, other: &RunIdentity) -> bool
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>