pub struct TriggerDescription {
pub reference: TriggerType,
pub price: Decimal,
pub price_type: PriceType,
pub actual_price: Option<Decimal>,
pub peak_price: Option<Decimal>,
pub last_price: Option<Decimal>,
pub status: TriggerStatus,
pub timestamp: Option<String>,
}
Fields§
§reference: TriggerType
§price: Decimal
§price_type: PriceType
§actual_price: Option<Decimal>
§peak_price: Option<Decimal>
§last_price: Option<Decimal>
§status: TriggerStatus
§timestamp: Option<String>
Trait Implementations§
Source§impl Debug for TriggerDescription
impl Debug for TriggerDescription
Source§impl<'de> Deserialize<'de> for TriggerDescription
impl<'de> Deserialize<'de> for TriggerDescription
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 TriggerDescription
impl PartialEq for TriggerDescription
impl StructuralPartialEq for TriggerDescription
Auto Trait Implementations§
impl Freeze for TriggerDescription
impl RefUnwindSafe for TriggerDescription
impl Send for TriggerDescription
impl Sync for TriggerDescription
impl Unpin for TriggerDescription
impl UnwindSafe for TriggerDescription
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