pub struct RoundInput {
pub name: Option<String>,
pub pre_money_valuation: Option<f64>,
pub price_per_share: Option<f64>,
pub round_type: Option<String>,
pub share_class_id: Option<String>,
pub target_amount: Option<f64>,
}Fields§
§name: Option<String>Name is the round’s name on the cap table, e.g. "Seed". Required.
pre_money_valuation: Option<f64>PreMoneyValuation is the valuation the round prices off, before the new money.
PricePerShare is the per-share price of a priced round.
round_type: Option<String>RoundType is PRICED, SAFE or CONVERTIBLE_NOTE. Defaults to PRICED.
ShareClassID is the cap table’s share class the round issues into.
target_amount: Option<f64>TargetAmount is the amount the round is raising, recorded verbatim on the canonical cap table’s rounds.create contract.
Implementations§
Source§impl RoundInput
impl RoundInput
pub fn new() -> RoundInput
Trait Implementations§
Source§impl Clone for RoundInput
impl Clone for RoundInput
Source§fn clone(&self) -> RoundInput
fn clone(&self) -> RoundInput
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 RoundInput
impl Debug for RoundInput
Source§impl Default for RoundInput
impl Default for RoundInput
Source§fn default() -> RoundInput
fn default() -> RoundInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RoundInput
impl<'de> Deserialize<'de> for RoundInput
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 RoundInput
impl PartialEq for RoundInput
Source§impl Serialize for RoundInput
impl Serialize for RoundInput
impl StructuralPartialEq for RoundInput
Auto Trait Implementations§
impl Freeze for RoundInput
impl RefUnwindSafe for RoundInput
impl Send for RoundInput
impl Sync for RoundInput
impl Unpin for RoundInput
impl UnsafeUnpin for RoundInput
impl UnwindSafe for RoundInput
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