identity
Module: identity
Section titled “Module: identity”Contents
Section titled “Contents”Structs
RunIdentity- Deterministic identity tuple associated with afirma runexecution.
firma_run::identity::RunIdentity
Section titled “firma_run::identity::RunIdentity”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: Stringsession_id: Stringprofile: 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 forfn 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>