pub struct SolanaSettlementConfig {
pub chain_id: String,
pub cluster: String,
pub program_id: String,
pub settlement_mint: String,
pub chio_minor_unit_decimals: u8,
pub token_minor_unit_decimals: u8,
pub evidence_substrate: SettlementEvidenceConfig,
}Fields§
§chain_id: String§cluster: String§program_id: String§settlement_mint: String§chio_minor_unit_decimals: u8§token_minor_unit_decimals: u8§evidence_substrate: SettlementEvidenceConfigImplementations§
Source§impl SolanaSettlementConfig
impl SolanaSettlementConfig
pub fn validate(&self) -> Result<(), SettlementError>
Trait Implementations§
Source§impl Clone for SolanaSettlementConfig
impl Clone for SolanaSettlementConfig
Source§fn clone(&self) -> SolanaSettlementConfig
fn clone(&self) -> SolanaSettlementConfig
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 SolanaSettlementConfig
impl Debug for SolanaSettlementConfig
Source§impl<'de> Deserialize<'de> for SolanaSettlementConfig
impl<'de> Deserialize<'de> for SolanaSettlementConfig
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
impl Eq for SolanaSettlementConfig
Source§impl PartialEq for SolanaSettlementConfig
impl PartialEq for SolanaSettlementConfig
Source§impl Serialize for SolanaSettlementConfig
impl Serialize for SolanaSettlementConfig
impl StructuralPartialEq for SolanaSettlementConfig
Auto Trait Implementations§
impl Freeze for SolanaSettlementConfig
impl RefUnwindSafe for SolanaSettlementConfig
impl Send for SolanaSettlementConfig
impl Sync for SolanaSettlementConfig
impl Unpin for SolanaSettlementConfig
impl UnsafeUnpin for SolanaSettlementConfig
impl UnwindSafe for SolanaSettlementConfig
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