pub struct TsHttpModule { /* private fields */ }Expand description
A client module: the declarations its calls depend on, and the calls themselves.
Implementations§
Source§impl TsHttpModule
impl TsHttpModule
Sourcepub fn render(&self) -> String
pub fn render(&self) -> String
Writes the module: every declaration a call depends on, then the program the calls form.
Sourcepub fn call_names(&self) -> Vec<&str>
pub fn call_names(&self) -> Vec<&str>
Returns the name each call is written under, in name order.
Trait Implementations§
Source§impl Clone for TsHttpModule
impl Clone for TsHttpModule
Source§fn clone(&self) -> TsHttpModule
fn clone(&self) -> TsHttpModule
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 TsHttpModule
impl Debug for TsHttpModule
Source§impl Default for TsHttpModule
impl Default for TsHttpModule
Source§fn default() -> TsHttpModule
fn default() -> TsHttpModule
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TsHttpModule
impl RefUnwindSafe for TsHttpModule
impl Send for TsHttpModule
impl Sync for TsHttpModule
impl Unpin for TsHttpModule
impl UnsafeUnpin for TsHttpModule
impl UnwindSafe for TsHttpModule
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,
Source§impl<This> HttpProgramExt<This> for This
impl<This> HttpProgramExt<This> for This
Source§fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
Compiles a named HTTP program with this interpreter.
Source§impl<This> ShapeProgramExt<This> for This
impl<This> ShapeProgramExt<This> for This
Source§fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.