pub struct CaptableTransferred {
pub message: Option<String>,
pub new_share_id: Option<String>,
pub success: Option<bool>,
pub transferred: Option<i32>,
}Fields§
§message: Option<String>Message is the human sentence the cap table wrote, e.g. "Share transferred".
NewShareID names the certificate a PARTIAL transfer created. It is null on a full transfer, which reassigns the existing certificate instead of splitting it — so null here means "no new certificate", never "the transfer failed".
success: Option<bool>Success is true when the transfer was applied.
transferred: Option<i32>Transferred is how many shares moved.
Implementations§
Source§impl CaptableTransferred
impl CaptableTransferred
pub fn new() -> CaptableTransferred
Trait Implementations§
Source§impl Clone for CaptableTransferred
impl Clone for CaptableTransferred
Source§fn clone(&self) -> CaptableTransferred
fn clone(&self) -> CaptableTransferred
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 CaptableTransferred
impl Debug for CaptableTransferred
Source§impl Default for CaptableTransferred
impl Default for CaptableTransferred
Source§fn default() -> CaptableTransferred
fn default() -> CaptableTransferred
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CaptableTransferred
impl<'de> Deserialize<'de> for CaptableTransferred
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 CaptableTransferred
impl PartialEq for CaptableTransferred
Source§impl Serialize for CaptableTransferred
impl Serialize for CaptableTransferred
impl StructuralPartialEq for CaptableTransferred
Auto Trait Implementations§
impl Freeze for CaptableTransferred
impl RefUnwindSafe for CaptableTransferred
impl Send for CaptableTransferred
impl Sync for CaptableTransferred
impl Unpin for CaptableTransferred
impl UnsafeUnpin for CaptableTransferred
impl UnwindSafe for CaptableTransferred
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