pub struct AgentAdding {
pub spec_digest: B3Hash,
pub source: AgentSource,
pub seat_here: Option<Address>,
pub idem: IdemKey,
}Expand description
What AddAgent carries: the consent to one agent entry the city
offered, named by the digest of its launch spec. The city recomputes
the digest of the spec it would offer now and refuses on a mismatch,
so what is written is what the person saw (crates/wire/spec/Answer/Agents.lean §8-90).
Fields§
§spec_digest: B3Hash§source: AgentSource§seat_here: Option<Address>The room whose resident this agent becomes as well, when the person chose “add and use here”.
idem: IdemKeyTrait Implementations§
Source§impl Clone for AgentAdding
impl Clone for AgentAdding
Source§impl Debug for AgentAdding
impl Debug for AgentAdding
Source§impl<'de> Deserialize<'de> for AgentAdding
impl<'de> Deserialize<'de> for AgentAdding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AgentAdding
Source§impl PartialEq for AgentAdding
impl PartialEq for AgentAdding
Source§impl Serialize for AgentAdding
impl Serialize for AgentAdding
impl StructuralPartialEq for AgentAdding
Auto Trait Implementations§
impl Freeze for AgentAdding
impl RefUnwindSafe for AgentAdding
impl Send for AgentAdding
impl Sync for AgentAdding
impl Unpin for AgentAdding
impl UnsafeUnpin for AgentAdding
impl UnwindSafe for AgentAdding
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