Struct grin_wallet_config::types::TorBridgeConfig
source · pub struct TorBridgeConfig {
pub bridge_line: Option<String>,
pub client_option: Option<String>,
}
Expand description
Tor Bridge Config
Fields§
§bridge_line: Option<String>
Bridge Line
client_option: Option<String>
Client Option
Trait Implementations§
source§impl Clone for TorBridgeConfig
impl Clone for TorBridgeConfig
source§fn clone(&self) -> TorBridgeConfig
fn clone(&self) -> TorBridgeConfig
Returns a copy 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 TorBridgeConfig
impl Debug for TorBridgeConfig
source§impl Default for TorBridgeConfig
impl Default for TorBridgeConfig
source§fn default() -> TorBridgeConfig
fn default() -> TorBridgeConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TorBridgeConfig
impl<'de> Deserialize<'de> for TorBridgeConfig
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
source§impl Display for TorBridgeConfig
impl Display for TorBridgeConfig
source§impl PartialEq for TorBridgeConfig
impl PartialEq for TorBridgeConfig
source§fn eq(&self, other: &TorBridgeConfig) -> bool
fn eq(&self, other: &TorBridgeConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TorBridgeConfig
impl Serialize for TorBridgeConfig
impl StructuralPartialEq for TorBridgeConfig
Auto Trait Implementations§
impl Freeze for TorBridgeConfig
impl RefUnwindSafe for TorBridgeConfig
impl Send for TorBridgeConfig
impl Sync for TorBridgeConfig
impl Unpin for TorBridgeConfig
impl UnwindSafe for TorBridgeConfig
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