Struct lfest::Position [−][src]
pub struct Position { /* fields omitted */ }
Expand description
Describes the position information of the account
Implementations
Create a new position with all fields custom. NOTE: only for advanced use cases
Return the entry price of the position
Return the positions unrealized profit and loss
Trait Implementations
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 RefUnwindSafe for Position
impl UnwindSafe for Position
Blanket Implementations
Mutably borrows from an owned value. Read more