pub struct UpgradeDowngradeRow {
pub ts: DateTime<Utc>,
pub firm: Option<String>,
pub from_grade: Option<RecommendationGrade>,
pub to_grade: Option<RecommendationGrade>,
pub action: Option<RecommendationAction>,
}Expand description
Broker action history for an instrument.
Fields§
§ts: DateTime<Utc>Event timestamp.
firm: Option<String>Research firm name.
from_grade: Option<RecommendationGrade>Previous rating with canonical variants and extensible fallback.
to_grade: Option<RecommendationGrade>New rating with canonical variants and extensible fallback.
action: Option<RecommendationAction>Action description with canonical variants and extensible fallback.
Trait Implementations§
Source§impl Clone for UpgradeDowngradeRow
impl Clone for UpgradeDowngradeRow
Source§fn clone(&self) -> UpgradeDowngradeRow
fn clone(&self) -> UpgradeDowngradeRow
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 Debug for UpgradeDowngradeRow
impl Debug for UpgradeDowngradeRow
Source§impl<'de> Deserialize<'de> for UpgradeDowngradeRow
impl<'de> Deserialize<'de> for UpgradeDowngradeRow
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 UpgradeDowngradeRow
impl PartialEq for UpgradeDowngradeRow
Source§impl Serialize for UpgradeDowngradeRow
impl Serialize for UpgradeDowngradeRow
impl Eq for UpgradeDowngradeRow
impl StructuralPartialEq for UpgradeDowngradeRow
Auto Trait Implementations§
impl Freeze for UpgradeDowngradeRow
impl RefUnwindSafe for UpgradeDowngradeRow
impl Send for UpgradeDowngradeRow
impl Sync for UpgradeDowngradeRow
impl Unpin for UpgradeDowngradeRow
impl UnwindSafe for UpgradeDowngradeRow
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