pub enum EquityTokenEvent {
TokenCreated {
issuer_subject: SubjectId,
class_id: ClassId,
share_class_type: ShareClassType,
authorized_shares: u128,
},
Transfer {
class_id: ClassId,
from: Address,
to: Address,
amount: u128,
},
Approval {
class_id: ClassId,
owner: Address,
spender: Address,
amount: u128,
},
ControllerUpdated {
class_id: ClassId,
old_controller: Address,
new_controller: Address,
governance_action_id: ActionId,
},
TokenPaused {
class_id: ClassId,
},
TokenUnpaused {
class_id: ClassId,
},
}Expand description
Equity token events
Variants§
Trait Implementations§
Source§impl Clone for EquityTokenEvent
impl Clone for EquityTokenEvent
Source§fn clone(&self) -> EquityTokenEvent
fn clone(&self) -> EquityTokenEvent
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 EquityTokenEvent
impl Debug for EquityTokenEvent
Source§impl<'de> Deserialize<'de> for EquityTokenEvent
impl<'de> Deserialize<'de> for EquityTokenEvent
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 EquityTokenEvent
impl PartialEq for EquityTokenEvent
Source§fn eq(&self, other: &EquityTokenEvent) -> bool
fn eq(&self, other: &EquityTokenEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EquityTokenEvent
impl Serialize for EquityTokenEvent
impl Eq for EquityTokenEvent
impl StructuralPartialEq for EquityTokenEvent
Auto Trait Implementations§
impl Freeze for EquityTokenEvent
impl RefUnwindSafe for EquityTokenEvent
impl Send for EquityTokenEvent
impl Sync for EquityTokenEvent
impl Unpin for EquityTokenEvent
impl UnsafeUnpin for EquityTokenEvent
impl UnwindSafe for EquityTokenEvent
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