pub struct SearchSection {
pub enabled: bool,
pub languages: Vec<String>,
pub index_code: bool,
}Fields§
§enabled: bool§languages: Vec<String>§index_code: boolTrait Implementations§
Source§impl Clone for SearchSection
impl Clone for SearchSection
Source§fn clone(&self) -> SearchSection
fn clone(&self) -> SearchSection
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 SearchSection
impl Debug for SearchSection
Source§impl Default for SearchSection
impl Default for SearchSection
Source§impl<'de> Deserialize<'de> for SearchSectionwhere
SearchSection: Default,
impl<'de> Deserialize<'de> for SearchSectionwhere
SearchSection: Default,
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 SearchSection
impl RefUnwindSafe for SearchSection
impl Send for SearchSection
impl Sync for SearchSection
impl Unpin for SearchSection
impl UnsafeUnpin for SearchSection
impl UnwindSafe for SearchSection
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