pub enum TemplateProviderType {
Sv2Tp {
address: String,
public_key: Option<Secp256k1PublicKey>,
},
BitcoinCoreIpc {
unix_socket_path: PathBuf,
fee_threshold: u64,
min_interval: u8,
},
}Expand description
Which type of Template Provider will be used, along with the relevant config parameters for each.
Variants§
Trait Implementations§
Source§impl Clone for TemplateProviderType
impl Clone for TemplateProviderType
Source§fn clone(&self) -> TemplateProviderType
fn clone(&self) -> TemplateProviderType
Returns a duplicate of the value. Read more
1.0.0 · 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 TemplateProviderType
impl Debug for TemplateProviderType
Source§impl<'de> Deserialize<'de> for TemplateProviderType
impl<'de> Deserialize<'de> for TemplateProviderType
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 TemplateProviderType
impl RefUnwindSafe for TemplateProviderType
impl Send for TemplateProviderType
impl Sync for TemplateProviderType
impl Unpin for TemplateProviderType
impl UnwindSafe for TemplateProviderType
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