pub struct ModuleServeOptsBuilder { /* private fields */ }
Expand description
Builder for ModuleServeOpts
.
Implementations§
Source§impl ModuleServeOptsBuilder
impl ModuleServeOptsBuilder
Sourcepub fn include_dependencies<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn include_dependencies<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Expose the dependencies of this module to the client
Sourcepub fn build(&self) -> Result<ModuleServeOpts, ModuleServeOptsBuilderError>
pub fn build(&self) -> Result<ModuleServeOpts, ModuleServeOptsBuilderError>
Trait Implementations§
Source§impl Clone for ModuleServeOptsBuilder
impl Clone for ModuleServeOptsBuilder
Source§fn clone(&self) -> ModuleServeOptsBuilder
fn clone(&self) -> ModuleServeOptsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ModuleServeOptsBuilder
impl RefUnwindSafe for ModuleServeOptsBuilder
impl Send for ModuleServeOptsBuilder
impl Sync for ModuleServeOptsBuilder
impl Unpin for ModuleServeOptsBuilder
impl UnwindSafe for ModuleServeOptsBuilder
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