pub struct SmartModuleConfigBuilder { /* private fields */ }Expand description
Builder for SmartModuleConfig.
Implementations§
source§impl SmartModuleConfigBuilder
 
impl SmartModuleConfigBuilder
pub fn initial_data(&mut self, value: SmartModuleInitialData) -> &mut Self
pub fn params(&mut self, value: SmartModuleExtraParams) -> &mut Self
pub fn version<VALUE: Into<i16>>(&mut self, value: VALUE) -> &mut Self
pub fn lookback(&mut self, value: Option<Lookback>) -> &mut Self
sourcepub fn build(&self) -> Result<SmartModuleConfig, SmartModuleConfigBuilderError>
 
pub fn build(&self) -> Result<SmartModuleConfig, SmartModuleConfigBuilderError>
Trait Implementations§
source§impl Clone for SmartModuleConfigBuilder
 
impl Clone for SmartModuleConfigBuilder
source§fn clone(&self) -> SmartModuleConfigBuilder
 
fn clone(&self) -> SmartModuleConfigBuilder
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 RefUnwindSafe for SmartModuleConfigBuilder
impl Send for SmartModuleConfigBuilder
impl Sync for SmartModuleConfigBuilder
impl Unpin for SmartModuleConfigBuilder
impl UnwindSafe for SmartModuleConfigBuilder
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