pub struct Issue {
pub stable_amount: u64,
pub start_stable_supply: u64,
pub spl_amount: u64,
pub mint: Pubkey,
pub spl_price: i64,
pub strategy_idx: u8,
}Fields§
§stable_amount: u64Amount of stable created.
start_stable_supply: u64Total stable in circulation at start.
spl_amount: u64Amount of SPL locked.
mint: PubkeyMint of the SPL.
spl_price: i64Price of the SPL.
strategy_idx: u8Index of the stratgey.
Trait Implementations§
Source§impl BorshDeserialize for Issue
impl BorshDeserialize for Issue
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for Issue
impl BorshSerialize for Issue
impl Eq for Issue
impl StructuralPartialEq for Issue
Auto Trait Implementations§
impl Freeze for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnsafeUnpin for Issue
impl UnwindSafe for Issue
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