pub struct ScannerData {
pub rank: i32,
pub contract_details: ContractDetails,
pub leg: String,
}Expand description
Provides the data resulting from the market scanner request.
Fields§
§rank: i32The ranking position of the contract in the scanner sort.
contract_details: ContractDetailsThe contract matching the scanner subscription.
leg: StringDescribes the combo legs when the scanner is returning EFP.
Trait Implementations§
Source§impl Clone for ScannerData
impl Clone for ScannerData
Source§fn clone(&self) -> ScannerData
fn clone(&self) -> ScannerData
Returns a duplicate 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 moreSource§impl ComposeSchema for ScannerData
impl ComposeSchema for ScannerData
Source§impl Debug for ScannerData
impl Debug for ScannerData
Source§impl Default for ScannerData
impl Default for ScannerData
Source§fn default() -> ScannerData
fn default() -> ScannerData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScannerData
impl<'de> Deserialize<'de> for ScannerData
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
Source§impl PartialEq for ScannerData
impl PartialEq for ScannerData
Source§impl Serialize for ScannerData
impl Serialize for ScannerData
Source§impl ToSchema for ScannerData
impl ToSchema for ScannerData
impl StructuralPartialEq for ScannerData
Auto Trait Implementations§
impl Freeze for ScannerData
impl RefUnwindSafe for ScannerData
impl Send for ScannerData
impl Sync for ScannerData
impl Unpin for ScannerData
impl UnsafeUnpin for ScannerData
impl UnwindSafe for ScannerData
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