pub struct ProfileInput<'view, 'document, 'envelope, 'information> {
pub token: &'view Token<'document>,
pub parent: &'view Reader<'envelope>,
pub envelope: Option<&'view SourceMap>,
pub ess: &'view SigningAttributes<'envelope>,
pub info: &'view TokenInfo<'information>,
pub reader: &'view Reader<'information>,
pub source: &'view SourceMap,
}Expand description
Original already decoded fields, scoped to one profile invocation. These are structural facts, not successful mathematics, authority or trust. Outer and carried sources can have different coordinate systems even when they share an execution account. Scans, copies and parameter queries must admit their work through the corresponding reader’s current execution.
An information view cannot escape into an independently retained result or error: its bytes may belong to a temporary joined buffer.
use structured_cms::timestamp::{ProfileInput, TokenInfo};
fn escape<'a>(input: ProfileInput<'_, 'a, 'a, '_>) -> &'a TokenInfo<'a> {
input.info
}Fields§
§token: &'view Token<'document>Same original token being checked, without a second envelope parse.
parent: &'view Reader<'envelope>Original CMS/ESS producing reader with current operation funding.
envelope: Option<&'view SourceMap>Outer source map for a logically joined envelope. None means the outer reader already uses original coordinates, not an absent original source.
ess: &'view SigningAttributes<'envelope>Same original signed ESS attributes used by the subsequent binding.
info: &'view TokenInfo<'information>Same original information reading used by the subsequent complete check.
reader: &'view Reader<'information>Producing carried-source reader, including original depth and ceilings.
source: &'view SourceMapOriginal projection for coordinates derived from that carried reader.