pub struct ChannelAddressPlan {
pub forced: Option<String>,
pub concurrency: Vec<String>,
pub guaranteed: Option<String>,
pub anti_ddos: Option<String>,
pub emergency: Option<String>,
pub backup_endpoints: BTreeMap<String, String>,
}Fields§
§forced: Option<String>§concurrency: Vec<String>§guaranteed: Option<String>§anti_ddos: Option<String>§emergency: Option<String>§backup_endpoints: BTreeMap<String, String>Implementations§
Source§impl ChannelAddressPlan
impl ChannelAddressPlan
pub fn backup_endpoint_for(&self, primary: &str) -> Option<&str>
Trait Implementations§
Source§impl Clone for ChannelAddressPlan
impl Clone for ChannelAddressPlan
Source§fn clone(&self) -> ChannelAddressPlan
fn clone(&self) -> ChannelAddressPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChannelAddressPlan
impl Debug for ChannelAddressPlan
impl Eq for ChannelAddressPlan
Source§impl PartialEq for ChannelAddressPlan
impl PartialEq for ChannelAddressPlan
Source§fn eq(&self, other: &ChannelAddressPlan) -> bool
fn eq(&self, other: &ChannelAddressPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChannelAddressPlan
Auto Trait Implementations§
impl Freeze for ChannelAddressPlan
impl RefUnwindSafe for ChannelAddressPlan
impl Send for ChannelAddressPlan
impl Sync for ChannelAddressPlan
impl Unpin for ChannelAddressPlan
impl UnsafeUnpin for ChannelAddressPlan
impl UnwindSafe for ChannelAddressPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.