pub struct VoltConfiguration {
pub id: String,
pub display_name: String,
pub address: String,
pub http_address: String,
pub public_key: String,
pub relay: Option<RelayConfiguration>,
}Fields§
§id: String§display_name: String§address: String§http_address: String§public_key: String§relay: Option<RelayConfiguration>Trait Implementations§
Source§impl Clone for VoltConfiguration
impl Clone for VoltConfiguration
Source§fn clone(&self) -> VoltConfiguration
fn clone(&self) -> VoltConfiguration
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 VoltConfiguration
impl Debug for VoltConfiguration
Source§impl Default for VoltConfiguration
impl Default for VoltConfiguration
Source§fn default() -> VoltConfiguration
fn default() -> VoltConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoltConfiguration
impl<'de> Deserialize<'de> for VoltConfiguration
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 VoltConfiguration
impl RefUnwindSafe for VoltConfiguration
impl Send for VoltConfiguration
impl Sync for VoltConfiguration
impl Unpin for VoltConfiguration
impl UnwindSafe for VoltConfiguration
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