pub struct CatalogResponse {
pub modules: Vec<ModuleCatalogEntry>,
pub categories: Vec<String>,
}Available on crate feature
alloc only.Expand description
Response from catalog() containing all modules and categories
Fields§
§modules: Vec<ModuleCatalogEntry>All available modules
categories: Vec<String>All unique categories (sorted)
Trait Implementations§
Source§impl Clone for CatalogResponse
impl Clone for CatalogResponse
Source§fn clone(&self) -> CatalogResponse
fn clone(&self) -> CatalogResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CatalogResponse
impl Debug for CatalogResponse
Source§impl<'de> Deserialize<'de> for CatalogResponse
impl<'de> Deserialize<'de> for CatalogResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for CatalogResponsewhere
Self: DeserializeOwned,
impl FromWasmAbi for CatalogResponsewhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for CatalogResponsewhere
Self: Serialize,
impl IntoWasmAbi for CatalogResponsewhere
Self: Serialize,
Source§impl OptionFromWasmAbi for CatalogResponsewhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for CatalogResponsewhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for CatalogResponsewhere
Self: Serialize,
impl OptionIntoWasmAbi for CatalogResponsewhere
Self: Serialize,
Source§impl Serialize for CatalogResponse
impl Serialize for CatalogResponse
Auto Trait Implementations§
impl Freeze for CatalogResponse
impl RefUnwindSafe for CatalogResponse
impl Send for CatalogResponse
impl Sync for CatalogResponse
impl Unpin for CatalogResponse
impl UnsafeUnpin for CatalogResponse
impl UnwindSafe for CatalogResponse
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.