#[non_exhaustive]pub struct FileValidationMessage {
pub title: Option<String>,
pub content: Option<String>,
pub type: Option<String>,
}
Expand description
The message details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.title: Option<String>
The message title.
content: Option<String>
The message content.
type: Option<String>
The message type.
Implementations§
source§impl FileValidationMessage
impl FileValidationMessage
sourcepub fn builder() -> FileValidationMessageBuilder
pub fn builder() -> FileValidationMessageBuilder
Creates a new builder-style object to manufacture FileValidationMessage
.
Trait Implementations§
source§impl Clone for FileValidationMessage
impl Clone for FileValidationMessage
source§fn clone(&self) -> FileValidationMessage
fn clone(&self) -> FileValidationMessage
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 FileValidationMessage
impl Debug for FileValidationMessage
source§impl PartialEq for FileValidationMessage
impl PartialEq for FileValidationMessage
source§fn eq(&self, other: &FileValidationMessage) -> bool
fn eq(&self, other: &FileValidationMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileValidationMessage
Auto Trait Implementations§
impl Freeze for FileValidationMessage
impl RefUnwindSafe for FileValidationMessage
impl Send for FileValidationMessage
impl Sync for FileValidationMessage
impl Unpin for FileValidationMessage
impl UnwindSafe for FileValidationMessage
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.