pub struct TextNotice {
pub kind: TextNoticeKind,
pub step: String,
pub instance: Vec<String>,
pub field: String,
}Fields§
§kind: TextNoticeKind§step: String§instance: Vec<String>§field: StringTrait Implementations§
Source§impl Clone for TextNotice
impl Clone for TextNotice
Source§impl Debug for TextNotice
impl Debug for TextNotice
Source§impl<'de> Deserialize<'de> for TextNotice
impl<'de> Deserialize<'de> for TextNotice
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
impl Eq for TextNotice
Source§impl JsonSchema for TextNotice
impl JsonSchema for TextNotice
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TextNotice
impl PartialEq for TextNotice
Source§impl Serialize for TextNotice
impl Serialize for TextNotice
impl StructuralPartialEq for TextNotice
Auto Trait Implementations§
impl Freeze for TextNotice
impl RefUnwindSafe for TextNotice
impl Send for TextNotice
impl Sync for TextNotice
impl Unpin for TextNotice
impl UnsafeUnpin for TextNotice
impl UnwindSafe for TextNotice
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