pub struct StrategyConfig {
pub name: String,
pub symbols: Vec<String>,
pub parameters: String,
}Expand description
Strategy configuration
Fields§
§name: String§symbols: Vec<String>§parameters: StringTrait Implementations§
Source§impl FromNapiValue for StrategyConfig
impl FromNapiValue for StrategyConfig
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl ToNapiValue for StrategyConfig
impl ToNapiValue for StrategyConfig
Source§unsafe fn to_napi_value(
env: napi_env,
val: StrategyConfig,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: StrategyConfig, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for StrategyConfig
impl TypeName for StrategyConfig
Source§impl ValidateNapiValue for StrategyConfig
impl ValidateNapiValue for StrategyConfig
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for StrategyConfig
impl RefUnwindSafe for StrategyConfig
impl Send for StrategyConfig
impl Sync for StrategyConfig
impl Unpin for StrategyConfig
impl UnwindSafe for StrategyConfig
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