Struct sataddress::Config
source · pub struct Config {
pub domains: CsvVec,
pub host: IpAddr,
pub port: u16,
pub reserved_names: CsvVec,
pub pin_secret: String,
pub site_name: String,
pub site_sub_name: String,
pub tor_proxy_url: Uri,
pub lnbits: LNbitsConfig,
}
Expand description
Structure definining possible params and their structure used in order to configure the server
Fields
domains: CsvVec
host: IpAddr
port: u16
reserved_names: CsvVec
pin_secret: String
site_name: String
site_sub_name: String
tor_proxy_url: Uri
lnbits: LNbitsConfig
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more