pub struct TsClientGen<'a>(pub &'a ProgramManifest);Expand description
Generates all TypeScript client files for a program and writes them using newline separators with file markers.
Output format:
=== accounts.ts ===
<contents>
=== instructions.ts ===
<contents>
=== events.ts ===
<contents>
=== types.ts ===
<contents>
=== index.ts ===
<contents>Tuple Fields§
§0: &'a ProgramManifestTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TsClientGen<'a>
impl<'a> RefUnwindSafe for TsClientGen<'a>
impl<'a> Send for TsClientGen<'a>
impl<'a> Sync for TsClientGen<'a>
impl<'a> Unpin for TsClientGen<'a>
impl<'a> UnsafeUnpin for TsClientGen<'a>
impl<'a> UnwindSafe for TsClientGen<'a>
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