pub struct ReverseSplitParams {
pub ratio_numerator: u64,
pub ratio_denominator: u64,
pub rounding: RoundingMode,
pub cash_out_fractional: bool,
pub fractional_price: Option<u128>,
}Expand description
Reverse split parameters
Fields§
§ratio_numerator: u64Ratio numerator
ratio_denominator: u64Ratio denominator
rounding: RoundingModeRounding mode
cash_out_fractional: boolCash out fractional shares
fractional_price: Option<u128>Price per fractional share (if cashing out)
Implementations§
Trait Implementations§
Source§impl Clone for ReverseSplitParams
impl Clone for ReverseSplitParams
Source§fn clone(&self) -> ReverseSplitParams
fn clone(&self) -> ReverseSplitParams
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 ReverseSplitParams
impl Debug for ReverseSplitParams
Source§impl<'de> Deserialize<'de> for ReverseSplitParams
impl<'de> Deserialize<'de> for ReverseSplitParams
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 ReverseSplitParams
impl PartialEq for ReverseSplitParams
Source§fn eq(&self, other: &ReverseSplitParams) -> bool
fn eq(&self, other: &ReverseSplitParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReverseSplitParams
impl Serialize for ReverseSplitParams
impl Eq for ReverseSplitParams
impl StructuralPartialEq for ReverseSplitParams
Auto Trait Implementations§
impl Freeze for ReverseSplitParams
impl RefUnwindSafe for ReverseSplitParams
impl Send for ReverseSplitParams
impl Sync for ReverseSplitParams
impl Unpin for ReverseSplitParams
impl UnsafeUnpin for ReverseSplitParams
impl UnwindSafe for ReverseSplitParams
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