pub struct BridgeHeader {
pub cid: Option<String>,
pub move_kind: Symbol,
pub from: String,
pub to: Vec<String>,
pub role: Symbol,
pub parents: Vec<String>,
pub task: Symbol,
pub output: Symbol,
pub ceiling: Vec<Symbol>,
pub context: Vec<Symbol>,
pub provenance: BridgeProvenance,
}Expand description
Fixed, fast-scan BRIDGE packet header.
Fields§
§cid: Option<String>Packet content id as rendered text, or None while canonicalizing.
move_kind: SymbolDialogue move intent.
from: StringSender seat.
to: Vec<String>Receiver seats.
role: SymbolSender role for this packet.
parents: Vec<String>Parent packet content ids.
task: SymbolHeader task part id.
output: SymbolHeader output/return part id.
ceiling: Vec<Symbol>Capability ceiling names, resolved by later bridge runtime code.
context: Vec<Symbol>Context part ids available to this packet.
provenance: BridgeProvenancePacket provenance.
Trait Implementations§
Source§impl Clone for BridgeHeader
impl Clone for BridgeHeader
Source§fn clone(&self) -> BridgeHeader
fn clone(&self) -> BridgeHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BridgeHeader
impl Debug for BridgeHeader
impl Eq for BridgeHeader
Source§impl PartialEq for BridgeHeader
impl PartialEq for BridgeHeader
impl StructuralPartialEq for BridgeHeader
Auto Trait Implementations§
impl Freeze for BridgeHeader
impl RefUnwindSafe for BridgeHeader
impl Send for BridgeHeader
impl Sync for BridgeHeader
impl Unpin for BridgeHeader
impl UnsafeUnpin for BridgeHeader
impl UnwindSafe for BridgeHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more