pub struct CaptableNote {
pub capital: Option<f64>,
pub conversion_cap: Option<f64>,
pub discount_rate: Option<f64>,
pub id: Option<String>,
pub interest_rate: Option<f64>,
pub issue_date: Option<String>,
pub public_id: Option<String>,
pub stakeholder_id: Option<String>,
pub stakeholder_name: Option<String>,
pub status: Option<String>,
pub type: Option<String>,
}Fields§
§capital: Option<f64>Capital is the principal the investor lent.
conversion_cap: Option<f64>ConversionCap is the valuation cap on conversion, if any.
discount_rate: Option<f64>DiscountRate is the discount to the next round’s price, if any.
id: Option<String>ID is the note id.
interest_rate: Option<f64>InterestRate is the annual interest rate, if any.
issue_date: Option<String>IssueDate is the ISO date the note was signed.
public_id: Option<String>PublicID is the note’s shareable identifier, unique within the company.
stakeholder_id: Option<String>StakeholderID is the investor.
stakeholder_name: Option<String>StakeholderName is that investor’s name.
status: Option<String>Status is the note’s state, e.g. DRAFT or ACTIVE.
type: Option<String>Type is the instrument kind, e.g. NOTE.
Implementations§
Source§impl CaptableNote
impl CaptableNote
pub fn new() -> CaptableNote
Trait Implementations§
Source§impl Clone for CaptableNote
impl Clone for CaptableNote
Source§fn clone(&self) -> CaptableNote
fn clone(&self) -> CaptableNote
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 CaptableNote
impl Debug for CaptableNote
Source§impl Default for CaptableNote
impl Default for CaptableNote
Source§fn default() -> CaptableNote
fn default() -> CaptableNote
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CaptableNote
impl<'de> Deserialize<'de> for CaptableNote
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 CaptableNote
impl PartialEq for CaptableNote
Source§impl Serialize for CaptableNote
impl Serialize for CaptableNote
impl StructuralPartialEq for CaptableNote
Auto Trait Implementations§
impl Freeze for CaptableNote
impl RefUnwindSafe for CaptableNote
impl Send for CaptableNote
impl Sync for CaptableNote
impl Unpin for CaptableNote
impl UnsafeUnpin for CaptableNote
impl UnwindSafe for CaptableNote
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