pub struct BuildEmbodiment {
pub agent_did: String,
pub body_did: String,
pub body_hardware_root: String,
pub from_body: Option<String>,
pub embodied_at: String,
pub valid_until: Option<String>,
}Expand description
Parameters for build_embodiment. The signer is the agent’s own persistent
key; agent_did is both issuer and subject id, so the whole continuity chain
is signed by one accountable identity. from_body, when set, links this
embodiment to the body the agent left, forming the chain. valid_until, when
set, bounds the active window (used by check_no_fork).
Fields§
§agent_did: String§body_did: String§body_hardware_root: String§from_body: Option<String>§embodied_at: String§valid_until: Option<String>Trait Implementations§
Source§impl Clone for BuildEmbodiment
impl Clone for BuildEmbodiment
Auto Trait Implementations§
impl Freeze for BuildEmbodiment
impl RefUnwindSafe for BuildEmbodiment
impl Send for BuildEmbodiment
impl Sync for BuildEmbodiment
impl Unpin for BuildEmbodiment
impl UnsafeUnpin for BuildEmbodiment
impl UnwindSafe for BuildEmbodiment
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