pub struct SearchResult { /* private fields */ }Expand description
Search result from substrate query
Implementations§
Trait Implementations§
Source§impl From<SearchResult> for JsValue
impl From<SearchResult> for JsValue
Source§fn from(value: SearchResult) -> Self
fn from(value: SearchResult) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SearchResult
impl FromWasmAbi for SearchResult
Source§impl IntoWasmAbi for SearchResult
impl IntoWasmAbi for SearchResult
Source§impl LongRefFromWasmAbi for SearchResult
impl LongRefFromWasmAbi for SearchResult
Source§impl OptionFromWasmAbi for SearchResult
impl OptionFromWasmAbi for SearchResult
Source§impl OptionIntoWasmAbi for SearchResult
impl OptionIntoWasmAbi for SearchResult
Source§impl RefFromWasmAbi for SearchResult
impl RefFromWasmAbi for SearchResult
Source§type Anchor = RcRef<SearchResult>
type Anchor = RcRef<SearchResult>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for SearchResult
impl RefMutFromWasmAbi for SearchResult
Source§impl TryFromJsValue for SearchResult
impl TryFromJsValue for SearchResult
Source§impl VectorFromWasmAbi for SearchResult
impl VectorFromWasmAbi for SearchResult
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SearchResult]>
Source§impl VectorIntoWasmAbi for SearchResult
impl VectorIntoWasmAbi for SearchResult
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SearchResult]>) -> Self::Abi
Source§impl WasmDescribeVector for SearchResult
impl WasmDescribeVector for SearchResult
impl SupportsConstructor for SearchResult
impl SupportsInstanceProperty for SearchResult
impl SupportsStaticProperty for SearchResult
Auto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
Converts
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>
Converts
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.