pub struct PayConfig {
pub enabled: bool,
pub cost_sats: u64,
pub token: Option<TokenConfig>,
pub chains: Vec<ChainConfig>,
}Expand description
Pod payment configuration (mirrors JSS --pay-* flags).
Fields§
§enabled: bool§cost_sats: u64§token: Option<TokenConfig>§chains: Vec<ChainConfig>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PayConfig
impl<'de> Deserialize<'de> for PayConfig
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
Auto Trait Implementations§
impl Freeze for PayConfig
impl RefUnwindSafe for PayConfig
impl Send for PayConfig
impl Sync for PayConfig
impl Unpin for PayConfig
impl UnsafeUnpin for PayConfig
impl UnwindSafe for PayConfig
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