pub struct NavigateReturnsBuilder<'a> { /* private fields */ }Implementations§
Sourcepub fn loaderId(self, loaderId: LoaderId<'a>) -> Self
pub fn loaderId(self, loaderId: LoaderId<'a>) -> Self
Loader identifier. This is omitted in case of same-document navigation, as the previously committed loaderId would not change.
Sourcepub fn errorText(self, errorText: impl Into<Cow<'a, str>>) -> Self
pub fn errorText(self, errorText: impl Into<Cow<'a, str>>) -> Self
User friendly error message, present if and only if navigation has failed.
Sourcepub fn isDownload(self, isDownload: bool) -> Self
pub fn isDownload(self, isDownload: bool) -> Self
Whether the navigation resulted in a download.
pub fn build(self) -> NavigateReturns<'a>
Auto Trait Implementations§
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