pub struct PlannedOutput {
pub semantic_key: Identity<GeneratedUnit>,
pub origin: OriginTrail,
pub expected_profile: Profile,
pub address: Option<OwnerIdentity>,
pub digest_contract: DigestContract,
}Expand description
One declared output of a plan — logical, and only logical.
What it IS, where it came from, who is expected to materialize it, the address a publication writes it to, and what its eventual digest must satisfy. No rendered bytes and no digest of them: those are the rendering’s facts and they live on the rendered unit.
Fields§
§semantic_key: Identity<GeneratedUnit>What this member is, independently of any bytes.
origin: OriginTrailThe non-empty derivation trail this output carries.
expected_profile: ProfileThe profile expected to render it.
address: Option<OwnerIdentity>The address a publication writes it to, where the member’s seat is one that writes to an address.
digest_contract: DigestContractWhat the eventual digest must satisfy.
Implementations§
Source§impl PlannedOutput
impl PlannedOutput
Sourcepub fn encode_into(&self, into: &mut Vec<u8>)
pub fn encode_into(&self, into: &mut Vec<u8>)
Appends this output’s canonical bytes: the semantic key, the origin trail in walk order, the expected profile, the publication address where one is named, and the digest contract.
Everything a plan states about one member, and no rendered byte, because a plan has none. The member’s delivery is not written and is not missing: it is the seat’s own answer, and the seat is written by the member’s own road.
Trait Implementations§
Source§impl Clone for PlannedOutput
impl Clone for PlannedOutput
Source§fn clone(&self) -> PlannedOutput
fn clone(&self) -> PlannedOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more