type ask to target as Ident (#2621)
This commit is contained in:
parent
0ab6b764be
commit
3df565789c
6 changed files with 12 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ use hive_sh4re::{
|
|||
CancelLooseEndKind, ContainerInfo, DeliveredMessage, InboxRow, JournalPriority, LooseEnd,
|
||||
MatrixIdentity, ReminderStats, ReminderTiming, SchedulePromptPayload, WireSchedule,
|
||||
};
|
||||
use hive_types::Ident;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// serde `default` helper for `Response::AgentMeta::running` (absent = true).
|
||||
|
|
@ -73,7 +74,7 @@ pub enum Request {
|
|||
#[serde(default)]
|
||||
ttl_seconds: Option<u64>,
|
||||
#[serde(default)]
|
||||
to: Option<String>,
|
||||
to: Option<Ident>,
|
||||
},
|
||||
/// Answer a question previously routed to this agent via
|
||||
/// `HelperEvent::QuestionAsked`. Authorised callers + threading
|
||||
|
|
|
|||
Loading…
Reference in a new issue