Struct serde_generate::typescript::Installer
source · [−]pub struct Installer { /* private fields */ }
Expand description
Installer for generated source files in TypeScript.
Implementations
Trait Implementations
sourceimpl SourceInstaller for Installer
impl SourceInstaller for Installer
type Error = Box<dyn Error + 'static, Global>
sourcefn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
fn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
Create a module exposing the container types contained in the registry.
sourcefn install_serde_runtime(&self) -> Result<(), Self::Error>
fn install_serde_runtime(&self) -> Result<(), Self::Error>
Install the serde runtime.
sourcefn install_bincode_runtime(&self) -> Result<(), Self::Error>
fn install_bincode_runtime(&self) -> Result<(), Self::Error>
Install the bincode runtime.
sourcefn install_bcs_runtime(&self) -> Result<(), Self::Error>
fn install_bcs_runtime(&self) -> Result<(), Self::Error>
Install the Libra Canonical Serialization (BCS) runtime.
Auto Trait Implementations
impl RefUnwindSafe for Installer
impl Send for Installer
impl Sync for Installer
impl Unpin for Installer
impl UnwindSafe for Installer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more