#[repr(u8)]
+LoanOriginationFeeInstruction in mango_v4::logs - Rust #[repr(u8)]
pub enum LoanOriginationFeeInstruction {
Unknown,
LiqTokenBankruptcy,
@@ -7,10 +7,10 @@ pub enum LoanOriginationFeeInstruction {
Serum3PlaceOrder,
Serum3SettleFunds,
TokenWithdraw,
-}
Variants§
§Unknown
§LiqTokenBankruptcy
§LiqTokenWithToken
§Serum3LiqForceCancelOrders
§Serum3PlaceOrder
§Serum3SettleFunds
§TokenWithdraw
Trait Implementations§
source§impl BorshDeserialize for LoanOriginationFeeInstruction
source§impl BorshSerialize for LoanOriginationFeeInstruction
source§impl Clone for LoanOriginationFeeInstruction
source§fn clone(&self) -> LoanOriginationFeeInstruction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl PartialEq<LoanOriginationFeeInstruction> for LoanOriginationFeeInstruction
source§fn eq(&self, other: &LoanOriginationFeeInstruction) -> bool
This method tests for self
and other
values to be equal, and is used
+}Variants§
§Unknown
§LiqTokenBankruptcy
§LiqTokenWithToken
§Serum3LiqForceCancelOrders
§Serum3PlaceOrder
§Serum3SettleFunds
§TokenWithdraw
Trait Implementations§
source§impl BorshDeserialize for LoanOriginationFeeInstruction
source§impl BorshSerialize for LoanOriginationFeeInstruction
source§impl Clone for LoanOriginationFeeInstruction
source§fn clone(&self) -> LoanOriginationFeeInstruction
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl PartialEq<LoanOriginationFeeInstruction> for LoanOriginationFeeInstruction
source§fn eq(&self, other: &LoanOriginationFeeInstruction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for LoanOriginationFeeInstruction
source§impl StructuralPartialEq for LoanOriginationFeeInstruction
Auto Trait Implementations§
§impl RefUnwindSafe for LoanOriginationFeeInstruction
§impl Send for LoanOriginationFeeInstruction
§impl Sync for LoanOriginationFeeInstruction
§impl Unpin for LoanOriginationFeeInstruction
§impl UnwindSafe for LoanOriginationFeeInstruction
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl Copy for LoanOriginationFeeInstruction
source§impl StructuralPartialEq for LoanOriginationFeeInstruction
Auto Trait Implementations§
§impl RefUnwindSafe for LoanOriginationFeeInstruction
§impl Send for LoanOriginationFeeInstruction
§impl Sync for LoanOriginationFeeInstruction
§impl Unpin for LoanOriginationFeeInstruction
§impl UnwindSafe for LoanOriginationFeeInstruction
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/index.html b/rs/doc/mango_v4/logs/index.html
index d81729e4f..20c4aebad 100644
--- a/rs/doc/mango_v4/logs/index.html
+++ b/rs/doc/mango_v4/logs/index.html
@@ -1 +1 @@
-mango_v4::logs - Rust
\ No newline at end of file
+mango_v4::logs - Rust
\ No newline at end of file
diff --git a/rs/doc/mango_v4/logs/struct.AccountBuybackFeesWithMngoLog.html b/rs/doc/mango_v4/logs/struct.AccountBuybackFeesWithMngoLog.html
index 87a2b8bf5..501965973 100644
--- a/rs/doc/mango_v4/logs/struct.AccountBuybackFeesWithMngoLog.html
+++ b/rs/doc/mango_v4/logs/struct.AccountBuybackFeesWithMngoLog.html
@@ -1,12 +1,12 @@
-AccountBuybackFeesWithMngoLog in mango_v4::logs - Rust Struct mango_v4::logs::AccountBuybackFeesWithMngoLog
source · pub struct AccountBuybackFeesWithMngoLog {
+AccountBuybackFeesWithMngoLog in mango_v4::logs - Rust Struct mango_v4::logs::AccountBuybackFeesWithMngoLog
source · pub struct AccountBuybackFeesWithMngoLog {
pub mango_group: Pubkey,
pub mango_account: Pubkey,
pub buyback_fees: i128,
pub buyback_mngo: i128,
pub mngo_buyback_price: i128,
pub oracle_price: i128,
-}
Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§buyback_fees: i128
§buyback_mngo: i128
§mngo_buyback_price: i128
§oracle_price: i128
Trait Implementations§
source§impl BorshDeserialize for AccountBuybackFeesWithMngoLogwhere
Pubkey: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for AccountBuybackFeesWithMngoLogwhere
Pubkey: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for AccountBuybackFeesWithMngoLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for AccountBuybackFeesWithMngoLog
§impl Send for AccountBuybackFeesWithMngoLog
§impl Sync for AccountBuybackFeesWithMngoLog
§impl Unpin for AccountBuybackFeesWithMngoLog
§impl UnwindSafe for AccountBuybackFeesWithMngoLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§buyback_fees: i128
§buyback_mngo: i128
§mngo_buyback_price: i128
§oracle_price: i128
Trait Implementations§
source§impl BorshDeserialize for AccountBuybackFeesWithMngoLogwhere
Pubkey: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for AccountBuybackFeesWithMngoLogwhere
Pubkey: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for AccountBuybackFeesWithMngoLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for AccountBuybackFeesWithMngoLog
§impl Send for AccountBuybackFeesWithMngoLog
§impl Sync for AccountBuybackFeesWithMngoLog
§impl Unpin for AccountBuybackFeesWithMngoLog
§impl UnwindSafe for AccountBuybackFeesWithMngoLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.DeactivatePerpPositionLog.html b/rs/doc/mango_v4/logs/struct.DeactivatePerpPositionLog.html
index 255ce871f..bb0e63a70 100644
--- a/rs/doc/mango_v4/logs/struct.DeactivatePerpPositionLog.html
+++ b/rs/doc/mango_v4/logs/struct.DeactivatePerpPositionLog.html
@@ -1,4 +1,4 @@
-DeactivatePerpPositionLog in mango_v4::logs - Rust Struct mango_v4::logs::DeactivatePerpPositionLog
source · pub struct DeactivatePerpPositionLog {
+DeactivatePerpPositionLog in mango_v4::logs - Rust Struct mango_v4::logs::DeactivatePerpPositionLog
source · pub struct DeactivatePerpPositionLog {
pub mango_group: Pubkey,
pub mango_account: Pubkey,
pub market_index: u16,
@@ -7,8 +7,8 @@
pub maker_volume: u64,
pub taker_volume: u64,
pub perp_spot_transfers: i64,
-}
Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§market_index: u16
§cumulative_long_funding: f64
§cumulative_short_funding: f64
§maker_volume: u64
§taker_volume: u64
§perp_spot_transfers: i64
Trait Implementations§
source§impl BorshDeserialize for DeactivatePerpPositionLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
f64: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
source§impl BorshSerialize for DeactivatePerpPositionLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
f64: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
source§impl Discriminator for DeactivatePerpPositionLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for DeactivatePerpPositionLog
§impl Send for DeactivatePerpPositionLog
§impl Sync for DeactivatePerpPositionLog
§impl Unpin for DeactivatePerpPositionLog
§impl UnwindSafe for DeactivatePerpPositionLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§market_index: u16
§cumulative_long_funding: f64
§cumulative_short_funding: f64
§maker_volume: u64
§taker_volume: u64
§perp_spot_transfers: i64
Trait Implementations§
source§impl BorshDeserialize for DeactivatePerpPositionLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
f64: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
source§impl BorshSerialize for DeactivatePerpPositionLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
f64: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
source§impl Discriminator for DeactivatePerpPositionLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for DeactivatePerpPositionLog
§impl Send for DeactivatePerpPositionLog
§impl Sync for DeactivatePerpPositionLog
§impl Unpin for DeactivatePerpPositionLog
§impl UnwindSafe for DeactivatePerpPositionLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.DeactivateTokenPositionLog.html b/rs/doc/mango_v4/logs/struct.DeactivateTokenPositionLog.html
index fc7fdeeca..ca341ab04 100644
--- a/rs/doc/mango_v4/logs/struct.DeactivateTokenPositionLog.html
+++ b/rs/doc/mango_v4/logs/struct.DeactivateTokenPositionLog.html
@@ -1,11 +1,11 @@
-DeactivateTokenPositionLog in mango_v4::logs - Rust Struct mango_v4::logs::DeactivateTokenPositionLog
source · pub struct DeactivateTokenPositionLog {
+DeactivateTokenPositionLog in mango_v4::logs - Rust Struct mango_v4::logs::DeactivateTokenPositionLog
source · pub struct DeactivateTokenPositionLog {
pub mango_group: Pubkey,
pub mango_account: Pubkey,
pub token_index: u16,
pub cumulative_deposit_interest: f64,
pub cumulative_borrow_interest: f64,
-}
Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§token_index: u16
§cumulative_deposit_interest: f64
§cumulative_borrow_interest: f64
Trait Implementations§
source§impl BorshDeserialize for DeactivateTokenPositionLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
f64: BorshDeserialize,
source§impl BorshSerialize for DeactivateTokenPositionLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
f64: BorshSerialize,
source§impl Discriminator for DeactivateTokenPositionLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for DeactivateTokenPositionLog
§impl Send for DeactivateTokenPositionLog
§impl Sync for DeactivateTokenPositionLog
§impl Unpin for DeactivateTokenPositionLog
§impl UnwindSafe for DeactivateTokenPositionLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§token_index: u16
§cumulative_deposit_interest: f64
§cumulative_borrow_interest: f64
Trait Implementations§
source§impl BorshDeserialize for DeactivateTokenPositionLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
f64: BorshDeserialize,
source§impl BorshSerialize for DeactivateTokenPositionLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
f64: BorshSerialize,
source§impl Discriminator for DeactivateTokenPositionLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for DeactivateTokenPositionLog
§impl Send for DeactivateTokenPositionLog
§impl Sync for DeactivateTokenPositionLog
§impl Unpin for DeactivateTokenPositionLog
§impl UnwindSafe for DeactivateTokenPositionLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.PerpLiqBankruptcyLog.html b/rs/doc/mango_v4/logs/struct.PerpLiqBankruptcyLog.html
index 97e520335..8c265b022 100644
--- a/rs/doc/mango_v4/logs/struct.PerpLiqBankruptcyLog.html
+++ b/rs/doc/mango_v4/logs/struct.PerpLiqBankruptcyLog.html
@@ -1,4 +1,4 @@
-PerpLiqBankruptcyLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpLiqBankruptcyLog
source · pub struct PerpLiqBankruptcyLog {
+PerpLiqBankruptcyLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpLiqBankruptcyLog
source · pub struct PerpLiqBankruptcyLog {
pub mango_group: Pubkey,
pub liqee: Pubkey,
pub liqor: Pubkey,
@@ -9,8 +9,8 @@
pub starting_short_funding: i128,
pub ending_long_funding: i128,
pub ending_short_funding: i128,
-}
Fields§
§mango_group: Pubkey
§liqee: Pubkey
§liqor: Pubkey
§perp_market_index: u16
§insurance_transfer: i128
§starting_long_funding: i128
§starting_short_funding: i128
§ending_long_funding: i128
§ending_short_funding: i128
Trait Implementations§
source§impl BorshDeserialize for PerpLiqBankruptcyLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpLiqBankruptcyLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpLiqBankruptcyLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpLiqBankruptcyLog
§impl Send for PerpLiqBankruptcyLog
§impl Sync for PerpLiqBankruptcyLog
§impl Unpin for PerpLiqBankruptcyLog
§impl UnwindSafe for PerpLiqBankruptcyLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§liqee: Pubkey
§liqor: Pubkey
§perp_market_index: u16
§insurance_transfer: i128
§starting_long_funding: i128
§starting_short_funding: i128
§ending_long_funding: i128
§ending_short_funding: i128
Trait Implementations§
source§impl BorshDeserialize for PerpLiqBankruptcyLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpLiqBankruptcyLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpLiqBankruptcyLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpLiqBankruptcyLog
§impl Send for PerpLiqBankruptcyLog
§impl Sync for PerpLiqBankruptcyLog
§impl Unpin for PerpLiqBankruptcyLog
§impl UnwindSafe for PerpLiqBankruptcyLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.PerpLiqBaseOrPositivePnlLog.html b/rs/doc/mango_v4/logs/struct.PerpLiqBaseOrPositivePnlLog.html
index 5106362ee..e528d1108 100644
--- a/rs/doc/mango_v4/logs/struct.PerpLiqBaseOrPositivePnlLog.html
+++ b/rs/doc/mango_v4/logs/struct.PerpLiqBaseOrPositivePnlLog.html
@@ -1,4 +1,4 @@
-PerpLiqBaseOrPositivePnlLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpLiqBaseOrPositivePnlLog
source · pub struct PerpLiqBaseOrPositivePnlLog {
+PerpLiqBaseOrPositivePnlLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpLiqBaseOrPositivePnlLog
source · pub struct PerpLiqBaseOrPositivePnlLog {
pub mango_group: Pubkey,
pub perp_market_index: u16,
pub liqor: Pubkey,
@@ -8,8 +8,8 @@
pub pnl_transfer: i128,
pub pnl_settle_limit_transfer: i128,
pub price: i128,
-}
Fields§
§mango_group: Pubkey
§perp_market_index: u16
§liqor: Pubkey
§liqee: Pubkey
§base_transfer: i64
§quote_transfer: i128
§pnl_transfer: i128
§pnl_settle_limit_transfer: i128
§price: i128
Trait Implementations§
source§impl BorshDeserialize for PerpLiqBaseOrPositivePnlLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i64: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpLiqBaseOrPositivePnlLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i64: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpLiqBaseOrPositivePnlLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpLiqBaseOrPositivePnlLog
§impl Send for PerpLiqBaseOrPositivePnlLog
§impl Sync for PerpLiqBaseOrPositivePnlLog
§impl Unpin for PerpLiqBaseOrPositivePnlLog
§impl UnwindSafe for PerpLiqBaseOrPositivePnlLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§perp_market_index: u16
§liqor: Pubkey
§liqee: Pubkey
§base_transfer: i64
§quote_transfer: i128
§pnl_transfer: i128
§pnl_settle_limit_transfer: i128
§price: i128
Trait Implementations§
source§impl BorshDeserialize for PerpLiqBaseOrPositivePnlLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i64: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpLiqBaseOrPositivePnlLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i64: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpLiqBaseOrPositivePnlLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpLiqBaseOrPositivePnlLog
§impl Send for PerpLiqBaseOrPositivePnlLog
§impl Sync for PerpLiqBaseOrPositivePnlLog
§impl Unpin for PerpLiqBaseOrPositivePnlLog
§impl UnwindSafe for PerpLiqBaseOrPositivePnlLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.PerpLiqNegativePnlOrBankruptcyLog.html b/rs/doc/mango_v4/logs/struct.PerpLiqNegativePnlOrBankruptcyLog.html
index b4efba548..bdfc9ad20 100644
--- a/rs/doc/mango_v4/logs/struct.PerpLiqNegativePnlOrBankruptcyLog.html
+++ b/rs/doc/mango_v4/logs/struct.PerpLiqNegativePnlOrBankruptcyLog.html
@@ -1,11 +1,11 @@
-PerpLiqNegativePnlOrBankruptcyLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpLiqNegativePnlOrBankruptcyLog
source · pub struct PerpLiqNegativePnlOrBankruptcyLog {
+PerpLiqNegativePnlOrBankruptcyLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpLiqNegativePnlOrBankruptcyLog
source · pub struct PerpLiqNegativePnlOrBankruptcyLog {
pub mango_group: Pubkey,
pub liqee: Pubkey,
pub liqor: Pubkey,
pub perp_market_index: u16,
pub settlement: i128,
-}
Fields§
§mango_group: Pubkey
§liqee: Pubkey
§liqor: Pubkey
§perp_market_index: u16
§settlement: i128
Trait Implementations§
source§impl BorshDeserialize for PerpLiqNegativePnlOrBankruptcyLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpLiqNegativePnlOrBankruptcyLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpLiqNegativePnlOrBankruptcyLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpLiqNegativePnlOrBankruptcyLog
§impl Send for PerpLiqNegativePnlOrBankruptcyLog
§impl Sync for PerpLiqNegativePnlOrBankruptcyLog
§impl Unpin for PerpLiqNegativePnlOrBankruptcyLog
§impl UnwindSafe for PerpLiqNegativePnlOrBankruptcyLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§liqee: Pubkey
§liqor: Pubkey
§perp_market_index: u16
§settlement: i128
Trait Implementations§
source§impl BorshDeserialize for PerpLiqNegativePnlOrBankruptcyLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpLiqNegativePnlOrBankruptcyLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpLiqNegativePnlOrBankruptcyLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpLiqNegativePnlOrBankruptcyLog
§impl Send for PerpLiqNegativePnlOrBankruptcyLog
§impl Sync for PerpLiqNegativePnlOrBankruptcyLog
§impl Unpin for PerpLiqNegativePnlOrBankruptcyLog
§impl UnwindSafe for PerpLiqNegativePnlOrBankruptcyLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.PerpMarketMetaDataLog.html b/rs/doc/mango_v4/logs/struct.PerpMarketMetaDataLog.html
index d5d815380..8ce871660 100644
--- a/rs/doc/mango_v4/logs/struct.PerpMarketMetaDataLog.html
+++ b/rs/doc/mango_v4/logs/struct.PerpMarketMetaDataLog.html
@@ -1,4 +1,4 @@
-PerpMarketMetaDataLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpMarketMetaDataLog
source · pub struct PerpMarketMetaDataLog {
+PerpMarketMetaDataLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpMarketMetaDataLog
source · pub struct PerpMarketMetaDataLog {
pub mango_group: Pubkey,
pub perp_market: Pubkey,
pub perp_market_index: u16,
@@ -6,8 +6,8 @@
pub base_lot_size: i64,
pub quote_lot_size: i64,
pub oracle: Pubkey,
-}
Fields§
§mango_group: Pubkey
§perp_market: Pubkey
§perp_market_index: u16
§base_decimals: u8
§base_lot_size: i64
§quote_lot_size: i64
§oracle: Pubkey
Trait Implementations§
source§impl BorshDeserialize for PerpMarketMetaDataLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
u8: BorshDeserialize,
i64: BorshDeserialize,
source§impl BorshSerialize for PerpMarketMetaDataLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
u8: BorshSerialize,
i64: BorshSerialize,
source§impl Discriminator for PerpMarketMetaDataLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpMarketMetaDataLog
§impl Send for PerpMarketMetaDataLog
§impl Sync for PerpMarketMetaDataLog
§impl Unpin for PerpMarketMetaDataLog
§impl UnwindSafe for PerpMarketMetaDataLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§perp_market: Pubkey
§perp_market_index: u16
§base_decimals: u8
§base_lot_size: i64
§quote_lot_size: i64
§oracle: Pubkey
Trait Implementations§
source§impl BorshDeserialize for PerpMarketMetaDataLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
u8: BorshDeserialize,
i64: BorshDeserialize,
source§impl BorshSerialize for PerpMarketMetaDataLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
u8: BorshSerialize,
i64: BorshSerialize,
source§impl Discriminator for PerpMarketMetaDataLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpMarketMetaDataLog
§impl Send for PerpMarketMetaDataLog
§impl Sync for PerpMarketMetaDataLog
§impl Unpin for PerpMarketMetaDataLog
§impl UnwindSafe for PerpMarketMetaDataLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.PerpSettleFeesLog.html b/rs/doc/mango_v4/logs/struct.PerpSettleFeesLog.html
index 372c833fa..436bf5bd7 100644
--- a/rs/doc/mango_v4/logs/struct.PerpSettleFeesLog.html
+++ b/rs/doc/mango_v4/logs/struct.PerpSettleFeesLog.html
@@ -1,10 +1,10 @@
-PerpSettleFeesLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpSettleFeesLog
source · pub struct PerpSettleFeesLog {
+PerpSettleFeesLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpSettleFeesLog
source · pub struct PerpSettleFeesLog {
pub mango_group: Pubkey,
pub mango_account: Pubkey,
pub perp_market_index: u16,
pub settlement: i128,
-}
Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§perp_market_index: u16
§settlement: i128
Trait Implementations§
source§impl BorshDeserialize for PerpSettleFeesLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpSettleFeesLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpSettleFeesLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpSettleFeesLog
§impl Send for PerpSettleFeesLog
§impl Sync for PerpSettleFeesLog
§impl Unpin for PerpSettleFeesLog
§impl UnwindSafe for PerpSettleFeesLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§perp_market_index: u16
§settlement: i128
Trait Implementations§
source§impl BorshDeserialize for PerpSettleFeesLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpSettleFeesLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpSettleFeesLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpSettleFeesLog
§impl Send for PerpSettleFeesLog
§impl Sync for PerpSettleFeesLog
§impl Unpin for PerpSettleFeesLog
§impl UnwindSafe for PerpSettleFeesLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.PerpSettlePnlLog.html b/rs/doc/mango_v4/logs/struct.PerpSettlePnlLog.html
index 483a694fb..a8fba0cc5 100644
--- a/rs/doc/mango_v4/logs/struct.PerpSettlePnlLog.html
+++ b/rs/doc/mango_v4/logs/struct.PerpSettlePnlLog.html
@@ -1,4 +1,4 @@
-PerpSettlePnlLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpSettlePnlLog
source · pub struct PerpSettlePnlLog {
+PerpSettlePnlLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpSettlePnlLog
source · pub struct PerpSettlePnlLog {
pub mango_group: Pubkey,
pub mango_account_a: Pubkey,
pub mango_account_b: Pubkey,
@@ -6,8 +6,8 @@
pub settlement: i128,
pub settler: Pubkey,
pub fee: i128,
-}
Fields§
§mango_group: Pubkey
§mango_account_a: Pubkey
§mango_account_b: Pubkey
§perp_market_index: u16
§settlement: i128
§settler: Pubkey
§fee: i128
Trait Implementations§
source§impl BorshDeserialize for PerpSettlePnlLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpSettlePnlLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpSettlePnlLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpSettlePnlLog
§impl Send for PerpSettlePnlLog
§impl Sync for PerpSettlePnlLog
§impl Unpin for PerpSettlePnlLog
§impl UnwindSafe for PerpSettlePnlLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§mango_account_a: Pubkey
§mango_account_b: Pubkey
§perp_market_index: u16
§settlement: i128
§settler: Pubkey
§fee: i128
Trait Implementations§
source§impl BorshDeserialize for PerpSettlePnlLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
source§impl BorshSerialize for PerpSettlePnlLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
source§impl Discriminator for PerpSettlePnlLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpSettlePnlLog
§impl Send for PerpSettlePnlLog
§impl Sync for PerpSettlePnlLog
§impl Unpin for PerpSettlePnlLog
§impl UnwindSafe for PerpSettlePnlLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.PerpUpdateFundingLog.html b/rs/doc/mango_v4/logs/struct.PerpUpdateFundingLog.html
index 7f74ef9de..7e5dc5fe6 100644
--- a/rs/doc/mango_v4/logs/struct.PerpUpdateFundingLog.html
+++ b/rs/doc/mango_v4/logs/struct.PerpUpdateFundingLog.html
@@ -1,4 +1,4 @@
-PerpUpdateFundingLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpUpdateFundingLog
source · pub struct PerpUpdateFundingLog {
+PerpUpdateFundingLog in mango_v4::logs - Rust Struct mango_v4::logs::PerpUpdateFundingLog
source · pub struct PerpUpdateFundingLog {
pub mango_group: Pubkey,
pub market_index: u16,
pub long_funding: i128,
@@ -6,10 +6,9 @@
pub price: i128,
pub stable_price: i128,
pub fees_accrued: i128,
- pub fees_settled: i128,
pub open_interest: i64,
pub instantaneous_funding_rate: i128,
-}
Fields§
§mango_group: Pubkey
§market_index: u16
§long_funding: i128
§short_funding: i128
§price: i128
§stable_price: i128
§fees_accrued: i128
§fees_settled: i128
§open_interest: i64
§instantaneous_funding_rate: i128
Trait Implementations§
source§impl BorshDeserialize for PerpUpdateFundingLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
i64: BorshDeserialize,
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
+}Fields§
§mango_group: Pubkey
§market_index: u16
§long_funding: i128
§short_funding: i128
§price: i128
§stable_price: i128
§fees_accrued: i128
§open_interest: i64
§instantaneous_funding_rate: i128
Trait Implementations§
source§impl BorshDeserialize for PerpUpdateFundingLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
i128: BorshDeserialize,
i64: BorshDeserialize,
source§impl BorshSerialize for PerpUpdateFundingLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
i128: BorshSerialize,
i64: BorshSerialize,
source§impl Discriminator for PerpUpdateFundingLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for PerpUpdateFundingLog
§impl Send for PerpUpdateFundingLog
§impl Sync for PerpUpdateFundingLog
§impl Unpin for PerpUpdateFundingLog
§impl UnwindSafe for PerpUpdateFundingLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
Instruments this type with the current Span
, returning an
diff --git a/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLog.html b/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLog.html
index 4a5277241..3f01ce43a 100644
--- a/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLog.html
+++ b/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLog.html
@@ -1,4 +1,4 @@
-Serum3OpenOrdersBalanceLog in mango_v4::logs - Rust Struct mango_v4::logs::Serum3OpenOrdersBalanceLog
source · pub struct Serum3OpenOrdersBalanceLog {
+Serum3OpenOrdersBalanceLog in mango_v4::logs - Rust Struct mango_v4::logs::Serum3OpenOrdersBalanceLog
source · pub struct Serum3OpenOrdersBalanceLog {
pub mango_group: Pubkey,
pub mango_account: Pubkey,
pub base_token_index: u16,
@@ -8,8 +8,8 @@
pub quote_total: u64,
pub quote_free: u64,
pub referrer_rebates_accrued: u64,
-}
Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§base_token_index: u16
§quote_token_index: u16
§base_total: u64
§base_free: u64
§quote_total: u64
§quote_free: u64
§referrer_rebates_accrued: u64
Trait Implementations§
source§impl BorshDeserialize for Serum3OpenOrdersBalanceLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
u64: BorshDeserialize,
source§impl BorshSerialize for Serum3OpenOrdersBalanceLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
u64: BorshSerialize,
source§impl Discriminator for Serum3OpenOrdersBalanceLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for Serum3OpenOrdersBalanceLog
§impl Send for Serum3OpenOrdersBalanceLog
§impl Sync for Serum3OpenOrdersBalanceLog
§impl Unpin for Serum3OpenOrdersBalanceLog
§impl UnwindSafe for Serum3OpenOrdersBalanceLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§base_token_index: u16
§quote_token_index: u16
§base_total: u64
§base_free: u64
§quote_total: u64
§quote_free: u64
§referrer_rebates_accrued: u64
Trait Implementations§
source§impl BorshDeserialize for Serum3OpenOrdersBalanceLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
u64: BorshDeserialize,
source§impl BorshSerialize for Serum3OpenOrdersBalanceLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
u64: BorshSerialize,
source§impl Discriminator for Serum3OpenOrdersBalanceLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for Serum3OpenOrdersBalanceLog
§impl Send for Serum3OpenOrdersBalanceLog
§impl Sync for Serum3OpenOrdersBalanceLog
§impl Unpin for Serum3OpenOrdersBalanceLog
§impl UnwindSafe for Serum3OpenOrdersBalanceLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLogV2.html b/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLogV2.html
index 08bf8bd61..6e1f3d45c 100644
--- a/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLogV2.html
+++ b/rs/doc/mango_v4/logs/struct.Serum3OpenOrdersBalanceLogV2.html
@@ -1,4 +1,4 @@
-Serum3OpenOrdersBalanceLogV2 in mango_v4::logs - Rust Struct mango_v4::logs::Serum3OpenOrdersBalanceLogV2
source · pub struct Serum3OpenOrdersBalanceLogV2 {
+Serum3OpenOrdersBalanceLogV2 in mango_v4::logs - Rust Struct mango_v4::logs::Serum3OpenOrdersBalanceLogV2
source · pub struct Serum3OpenOrdersBalanceLogV2 {
pub mango_group: Pubkey,
pub mango_account: Pubkey,
pub market_index: u16,
@@ -9,8 +9,8 @@
pub quote_total: u64,
pub quote_free: u64,
pub referrer_rebates_accrued: u64,
-}
Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§market_index: u16
§base_token_index: u16
§quote_token_index: u16
§base_total: u64
§base_free: u64
§quote_total: u64
§quote_free: u64
§referrer_rebates_accrued: u64
Trait Implementations§
source§impl BorshDeserialize for Serum3OpenOrdersBalanceLogV2where
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
u64: BorshDeserialize,
source§impl BorshSerialize for Serum3OpenOrdersBalanceLogV2where
Pubkey: BorshSerialize,
u16: BorshSerialize,
u64: BorshSerialize,
source§impl Discriminator for Serum3OpenOrdersBalanceLogV2
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for Serum3OpenOrdersBalanceLogV2
§impl Send for Serum3OpenOrdersBalanceLogV2
§impl Sync for Serum3OpenOrdersBalanceLogV2
§impl Unpin for Serum3OpenOrdersBalanceLogV2
§impl UnwindSafe for Serum3OpenOrdersBalanceLogV2
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§mango_account: Pubkey
§market_index: u16
§base_token_index: u16
§quote_token_index: u16
§base_total: u64
§base_free: u64
§quote_total: u64
§quote_free: u64
§referrer_rebates_accrued: u64
Trait Implementations§
source§impl BorshDeserialize for Serum3OpenOrdersBalanceLogV2where
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
u64: BorshDeserialize,
source§impl BorshSerialize for Serum3OpenOrdersBalanceLogV2where
Pubkey: BorshSerialize,
u16: BorshSerialize,
u64: BorshSerialize,
source§impl Discriminator for Serum3OpenOrdersBalanceLogV2
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for Serum3OpenOrdersBalanceLogV2
§impl Send for Serum3OpenOrdersBalanceLogV2
§impl Sync for Serum3OpenOrdersBalanceLogV2
§impl Unpin for Serum3OpenOrdersBalanceLogV2
§impl UnwindSafe for Serum3OpenOrdersBalanceLogV2
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · source§fn into(self) -> U
Calls U::from(self)
.
diff --git a/rs/doc/mango_v4/logs/struct.Serum3RegisterMarketLog.html b/rs/doc/mango_v4/logs/struct.Serum3RegisterMarketLog.html
index 609c63be6..c7ab0dd79 100644
--- a/rs/doc/mango_v4/logs/struct.Serum3RegisterMarketLog.html
+++ b/rs/doc/mango_v4/logs/struct.Serum3RegisterMarketLog.html
@@ -1,4 +1,4 @@
-Serum3RegisterMarketLog in mango_v4::logs - Rust Struct mango_v4::logs::Serum3RegisterMarketLog
source · pub struct Serum3RegisterMarketLog {
+Serum3RegisterMarketLog in mango_v4::logs - Rust Struct mango_v4::logs::Serum3RegisterMarketLog
source · pub struct Serum3RegisterMarketLog {
pub mango_group: Pubkey,
pub serum_market: Pubkey,
pub market_index: u16,
@@ -6,8 +6,8 @@
pub quote_token_index: u16,
pub serum_program: Pubkey,
pub serum_program_external: Pubkey,
-}
Fields§
§mango_group: Pubkey
§serum_market: Pubkey
§market_index: u16
§base_token_index: u16
§quote_token_index: u16
§serum_program: Pubkey
§serum_program_external: Pubkey
Trait Implementations§
source§impl BorshDeserialize for Serum3RegisterMarketLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
source§impl BorshSerialize for Serum3RegisterMarketLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
source§impl Discriminator for Serum3RegisterMarketLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for Serum3RegisterMarketLog
§impl Send for Serum3RegisterMarketLog
§impl Sync for Serum3RegisterMarketLog
§impl Unpin for Serum3RegisterMarketLog
§impl UnwindSafe for Serum3RegisterMarketLog
Blanket Implementations§
source§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
const: unstable · source§fn from(t: T) -> T
Returns the argument unchanged.
+}Fields§
§mango_group: Pubkey
§serum_market: Pubkey
§market_index: u16
§base_token_index: u16
§quote_token_index: u16
§serum_program: Pubkey
§serum_program_external: Pubkey
Trait Implementations§
source§impl BorshDeserialize for Serum3RegisterMarketLogwhere
Pubkey: BorshDeserialize,
u16: BorshDeserialize,
source§impl BorshSerialize for Serum3RegisterMarketLogwhere
Pubkey: BorshSerialize,
u16: BorshSerialize,
source§impl Discriminator for Serum3RegisterMarketLog
source§fn discriminator() -> [u8; 8]
Auto Trait Implementations§
§impl RefUnwindSafe for Serum3RegisterMarketLog
§impl Send for Serum3RegisterMarketLog
§impl Sync for Serum3RegisterMarketLog
§impl Unpin for Serum3RegisterMarketLog
§impl UnwindSafe for Serum3RegisterMarketLog
Blanket Implementations§