pub struct DeepLinks {
pub initial: Option<String>,
pub latest: RwSignal<Option<DeepLink>>,
}Expand description
The app-facing deep-link read surface (see the module docs’ app_links
semantics). Obtained via deep_links (frust::deep_links() at the
facade).
Fields§
§initial: Option<String>The first link ever pushed in this process, if any — a plain
snapshot taken when deep_links is called, not itself reactive.
The underlying value is set at most once (idempotent), so repeated
calls to deep_links see the same initial once it exists.
latest: RwSignal<Option<DeepLink>>The most recently pushed link — cold-start or warm, uniformly (see
the module docs). Use DeepLink::sequence to deduplicate deliveries.
Read/track it with the Get/Track traits (frust::{Get, Track})
the same way any other RwSignal is read.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeepLinks
impl RefUnwindSafe for DeepLinks
impl Send for DeepLinks
impl Sync for DeepLinks
impl Unpin for DeepLinks
impl UnsafeUnpin for DeepLinks
impl UnwindSafe for DeepLinks
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.