Struct jormungandr_lib::interfaces::config::node::PreferredListConfig
source · pub struct PreferredListConfig {
pub view_max: PreferredViewMax,
pub peers: Vec<TrustedPeer>,
}
Fields§
§view_max: PreferredViewMax
§peers: Vec<TrustedPeer>
Trait Implementations§
source§impl Clone for PreferredListConfig
impl Clone for PreferredListConfig
source§fn clone(&self) -> PreferredListConfig
fn clone(&self) -> PreferredListConfig
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 PreferredListConfig
impl Debug for PreferredListConfig
source§impl Default for PreferredListConfig
impl Default for PreferredListConfig
source§fn default() -> PreferredListConfig
fn default() -> PreferredListConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PreferredListConfig
impl<'de> Deserialize<'de> for PreferredListConfig
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 RefUnwindSafe for PreferredListConfig
impl Send for PreferredListConfig
impl Sync for PreferredListConfig
impl Unpin for PreferredListConfig
impl UnwindSafe for PreferredListConfig
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