pub enum CorporateActionEvent {
ActionProposed {
action_id: ActionId,
class_id: ClassId,
action_type: CorporateActionType,
governance_action_id: ActionId,
},
ActionExecuted {
action_id: ActionId,
action_type: CorporateActionType,
affected_holders: u64,
total_shares_affected: u128,
},
DividendDeclared {
declaration_id: ActionId,
class_id: ClassId,
amount_per_share: u128,
record_date: Timestamp,
payment_date: Timestamp,
},
DividendDistributed {
declaration_id: ActionId,
total_distributed: u128,
recipient_count: u64,
},
SnapshotTaken {
snapshot_id: SnapshotId,
class_id: ClassId,
purpose: SnapshotPurpose,
holder_count: u64,
},
}Expand description
Corporate action events
Variants§
ActionProposed
Fields
§
action_type: CorporateActionTypeActionExecuted
DividendDeclared
DividendDistributed
SnapshotTaken
Trait Implementations§
Source§impl Clone for CorporateActionEvent
impl Clone for CorporateActionEvent
Source§fn clone(&self) -> CorporateActionEvent
fn clone(&self) -> CorporateActionEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CorporateActionEvent
impl Debug for CorporateActionEvent
Source§impl<'de> Deserialize<'de> for CorporateActionEvent
impl<'de> Deserialize<'de> for CorporateActionEvent
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 CorporateActionEvent
impl PartialEq for CorporateActionEvent
Source§fn eq(&self, other: &CorporateActionEvent) -> bool
fn eq(&self, other: &CorporateActionEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CorporateActionEvent
impl Serialize for CorporateActionEvent
impl Eq for CorporateActionEvent
impl StructuralPartialEq for CorporateActionEvent
Auto Trait Implementations§
impl Freeze for CorporateActionEvent
impl RefUnwindSafe for CorporateActionEvent
impl Send for CorporateActionEvent
impl Sync for CorporateActionEvent
impl Unpin for CorporateActionEvent
impl UnsafeUnpin for CorporateActionEvent
impl UnwindSafe for CorporateActionEvent
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