pub struct SomeMessage {
pub kind: MessageKind,
pub name: String,
pub title: String,
pub value: Option<String>,
pub rule_values: Vec<String>,
}Expand description
A specific message
Fields§
§kind: MessageKindRefer to MessageKind.
name: StringThe field name.
title: StringThe field title.
value: Option<String>The field raw value, None if missing.
rule_values: Vec<String>rule related values, such as max and min, as strings.
Auto Trait Implementations§
impl Freeze for SomeMessage
impl RefUnwindSafe for SomeMessage
impl Send for SomeMessage
impl Sync for SomeMessage
impl Unpin for SomeMessage
impl UnwindSafe for SomeMessage
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