pub struct ProfileInfo {
pub name: String,
pub use_targets: Vec<usize>,
pub close_ratios: Vec<f64>,
pub target_source: String,
pub stoploss_mode: String,
pub rules_count: usize,
pub let_remainder_run: bool,
}Expand description
Summary of a management profile available on the server.
Fields§
§name: String§use_targets: Vec<usize>§close_ratios: Vec<f64>§target_source: String§stoploss_mode: String§rules_count: usize§let_remainder_run: boolTrait Implementations§
Source§impl Clone for ProfileInfo
impl Clone for ProfileInfo
Source§impl Debug for ProfileInfo
impl Debug for ProfileInfo
Source§impl<'de> Deserialize<'de> for ProfileInfo
impl<'de> Deserialize<'de> for ProfileInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProfileInfo
impl RefUnwindSafe for ProfileInfo
impl Send for ProfileInfo
impl Sync for ProfileInfo
impl Unpin for ProfileInfo
impl UnsafeUnpin for ProfileInfo
impl UnwindSafe for ProfileInfo
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