pub struct StaticBackendUpdate {
pub id: String,
pub description: Option<String>,
pub metadata: Option<String>,
pub address: String,
pub tls: StaticBackendTLS,
}
Fields§
§id: String
§description: Option<String>
human-readable description of this backend. Optional
metadata: Option<String>
arbitrary user-defined machine-readable data of this backend. Optional
address: String
the address to forward to
tls: StaticBackendTLS
tls configuration to use
Trait Implementations§
Source§impl Clone for StaticBackendUpdate
impl Clone for StaticBackendUpdate
Source§fn clone(&self) -> StaticBackendUpdate
fn clone(&self) -> StaticBackendUpdate
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 StaticBackendUpdate
impl Debug for StaticBackendUpdate
Source§impl Default for StaticBackendUpdate
impl Default for StaticBackendUpdate
Source§fn default() -> StaticBackendUpdate
fn default() -> StaticBackendUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticBackendUpdate
impl<'de> Deserialize<'de> for StaticBackendUpdate
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 StaticBackendUpdate
impl RefUnwindSafe for StaticBackendUpdate
impl Send for StaticBackendUpdate
impl Sync for StaticBackendUpdate
impl Unpin for StaticBackendUpdate
impl UnwindSafe for StaticBackendUpdate
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