Struct jormungandr_lib::interfaces::LayersConfig
source · pub struct LayersConfig {
pub preferred_list: Option<PreferredListConfig>,
pub topics_of_interest: Option<TopicsOfInterest>,
}
Expand description
Jörmungandr provides multiple additional layers to the poldercast default ones: the preferred list or the bottle in the sea.
Fields§
§preferred_list: Option<PreferredListConfig>
§topics_of_interest: Option<TopicsOfInterest>
Trait Implementations§
source§impl Clone for LayersConfig
impl Clone for LayersConfig
source§fn clone(&self) -> LayersConfig
fn clone(&self) -> LayersConfig
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 LayersConfig
impl Debug for LayersConfig
source§impl Default for LayersConfig
impl Default for LayersConfig
source§fn default() -> LayersConfig
fn default() -> LayersConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LayersConfig
impl<'de> Deserialize<'de> for LayersConfig
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 LayersConfig
impl Send for LayersConfig
impl Sync for LayersConfig
impl Unpin for LayersConfig
impl UnwindSafe for LayersConfig
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