pub struct ModuleEntry {
pub module_type: Option<String>,
pub key: Option<String>,
pub label: Option<String>,
pub field: Option<String>,
pub format: Option<String>,
pub text: Option<String>,
}Expand description
Configuration for an individual info module.
Fields§
§module_type: Option<String>§key: Option<String>§label: Option<String>§field: Option<String>§format: Option<String>§text: Option<String>Implementations§
Source§impl ModuleEntry
impl ModuleEntry
Trait Implementations§
Source§impl Clone for ModuleEntry
impl Clone for ModuleEntry
Source§fn clone(&self) -> ModuleEntry
fn clone(&self) -> ModuleEntry
Returns a duplicate 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 ModuleEntry
impl Debug for ModuleEntry
Source§impl Default for ModuleEntry
impl Default for ModuleEntry
Source§fn default() -> ModuleEntry
fn default() -> ModuleEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleEntry
impl<'de> Deserialize<'de> for ModuleEntry
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 ModuleEntry
impl RefUnwindSafe for ModuleEntry
impl Send for ModuleEntry
impl Sync for ModuleEntry
impl Unpin for ModuleEntry
impl UnwindSafe for ModuleEntry
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more