pub struct DeepLinkOpenEvent {
pub request_id: String,
pub link: String,
pub agent_id: String,
pub source: Option<String>,
pub caller_block_id: Option<String>,
pub tab_id: Option<String>,
pub window_id: Option<String>,
pub target: String,
pub expires_at_ms: i64,
}Expand description
deeplink:open: an agent, or the operating system, asked to open a deep link and srv’s guard let it through
(docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md §4.2). The window named by window_id (or, with none, the
one the person last used) carries it out with the app’s executor and answers deeplink.open.done. Every field is
srv’s own: the link is the canonical form srv parsed, never the agent’s text.
Fields§
§request_id: String§link: StringThe canonical link (R7).
agent_id: StringThe agent’s id (its slug), for the record and the announcement; empty for an open from the operating system.
source: Option<String>Who asked, when it is not an agent: os, a link another program handed to AgentMux (G4e). The window carries
it out by the operating system’s rules: in the window the person used last, replacing nothing, taking no
field’s focus.
caller_block_id: Option<String>The caller’s own conversation pane, when it has one: beside opens next to it.
tab_id: Option<String>The tab the open lands in: the caller’s own, or one of its own (G3).
window_id: Option<String>The window that holds tab_id.
target: Stringbeside, new or pane:<block id>: srv resolved a tab or window target into tab_id already.
expires_at_ms: i64After this the window must not carry it out (a window that connects late, a replayed event).
Trait Implementations§
Source§impl Clone for DeepLinkOpenEvent
impl Clone for DeepLinkOpenEvent
Source§fn clone(&self) -> DeepLinkOpenEvent
fn clone(&self) -> DeepLinkOpenEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeepLinkOpenEvent
impl Debug for DeepLinkOpenEvent
Source§impl PartialEq for DeepLinkOpenEvent
impl PartialEq for DeepLinkOpenEvent
Source§impl Serialize for DeepLinkOpenEvent
impl Serialize for DeepLinkOpenEvent
impl StructuralPartialEq for DeepLinkOpenEvent
Source§impl TS for DeepLinkOpenEvent
impl TS for DeepLinkOpenEvent
Source§type WithoutGenerics = DeepLinkOpenEvent
type WithoutGenerics = DeepLinkOpenEvent
WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or (). The only requirement for these dummy types is that
EXPORT_TO must be None. Read moreSource§type OptionInnerType = DeepLinkOpenEvent
type OptionInnerType = DeepLinkOpenEvent
std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.Source§fn docs() -> Option<String>
fn docs() -> Option<String>
TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributesSource§fn decl_concrete(cfg: &Config) -> String
fn decl_concrete(cfg: &Config) -> String
TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().Source§fn decl(cfg: &Config) -> String
fn decl(cfg: &Config) -> String
type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read moreSource§fn inline(cfg: &Config) -> String
fn inline(cfg: &Config) -> String
{ user_id: number }.
This function will panic if the type cannot be inlined.Source§fn inline_flattened(cfg: &Config) -> String
fn inline_flattened(cfg: &Config) -> String
Source§fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn output_path() -> Option<PathBuf>
fn output_path() -> Option<PathBuf>
T should be exported, relative to the output directory.
The returned path does not include any base directory. Read moreSource§fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
§fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
§fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export_all]. Read more§fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export]. Read moreAuto Trait Implementations§
impl Freeze for DeepLinkOpenEvent
impl RefUnwindSafe for DeepLinkOpenEvent
impl Send for DeepLinkOpenEvent
impl Sync for DeepLinkOpenEvent
impl Unpin for DeepLinkOpenEvent
impl UnsafeUnpin for DeepLinkOpenEvent
impl UnwindSafe for DeepLinkOpenEvent
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more