pub struct ApplicationServerInfoData {
pub version: Option<String>,
pub onion: Option<String>,
pub supported_payment_methods: Option<Vec<String>>,
pub fully_synched: Option<bool>,
pub sync_status: Option<Vec<ApplicationServerInfoSyncStatusData>>,
}Fields§
§version: Option<String>BTCPay Server version
onion: Option<String>The Tor hostname
supported_payment_methods: Option<Vec<String>>The payment methods this server supports
fully_synched: Option<bool>True if the instance is fully synchronized, according to NBXplorer
sync_status: Option<Vec<ApplicationServerInfoSyncStatusData>>Implementations§
Source§impl ApplicationServerInfoData
impl ApplicationServerInfoData
pub fn new() -> ApplicationServerInfoData
Trait Implementations§
Source§impl Clone for ApplicationServerInfoData
impl Clone for ApplicationServerInfoData
Source§fn clone(&self) -> ApplicationServerInfoData
fn clone(&self) -> ApplicationServerInfoData
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 ApplicationServerInfoData
impl Debug for ApplicationServerInfoData
Source§impl Default for ApplicationServerInfoData
impl Default for ApplicationServerInfoData
Source§fn default() -> ApplicationServerInfoData
fn default() -> ApplicationServerInfoData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationServerInfoData
impl<'de> Deserialize<'de> for ApplicationServerInfoData
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 StructuralPartialEq for ApplicationServerInfoData
Auto Trait Implementations§
impl Freeze for ApplicationServerInfoData
impl RefUnwindSafe for ApplicationServerInfoData
impl Send for ApplicationServerInfoData
impl Sync for ApplicationServerInfoData
impl Unpin for ApplicationServerInfoData
impl UnwindSafe for ApplicationServerInfoData
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