pub struct ModuleWithSourceOptsBuilder<'a> { /* private fields */ }Expand description
Builder for ModuleWithSourceOpts.
Implementations§
Source§impl<'a> ModuleWithSourceOptsBuilder<'a>
impl<'a> ModuleWithSourceOptsBuilder<'a>
Sourcepub fn engine_version<VALUE: Into<&'a str>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn engine_version<VALUE: Into<&'a str>>( &mut self, value: VALUE, ) -> &mut Self
The engine version to upgrade to.
Sourcepub fn build(
&self,
) -> Result<ModuleWithSourceOpts<'a>, ModuleWithSourceOptsBuilderError>
pub fn build( &self, ) -> Result<ModuleWithSourceOpts<'a>, ModuleWithSourceOptsBuilderError>
Trait Implementations§
Source§impl<'a> Clone for ModuleWithSourceOptsBuilder<'a>
impl<'a> Clone for ModuleWithSourceOptsBuilder<'a>
Source§fn clone(&self) -> ModuleWithSourceOptsBuilder<'a>
fn clone(&self) -> ModuleWithSourceOptsBuilder<'a>
Returns a copy 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<'a> Freeze for ModuleWithSourceOptsBuilder<'a>
impl<'a> RefUnwindSafe for ModuleWithSourceOptsBuilder<'a>
impl<'a> Send for ModuleWithSourceOptsBuilder<'a>
impl<'a> Sync for ModuleWithSourceOptsBuilder<'a>
impl<'a> Unpin for ModuleWithSourceOptsBuilder<'a>
impl<'a> UnwindSafe for ModuleWithSourceOptsBuilder<'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