#[non_exhaustive]pub struct UserInputOptionPreview {
pub format: String,
pub content: String,
}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.format: String§content: StringTrait Implementations§
Source§impl Clone for UserInputOptionPreview
impl Clone for UserInputOptionPreview
Source§impl Debug for UserInputOptionPreview
impl Debug for UserInputOptionPreview
Source§impl<'de> Deserialize<'de> for UserInputOptionPreview
impl<'de> Deserialize<'de> for UserInputOptionPreview
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 UserInputOptionPreview
Source§impl PartialEq for UserInputOptionPreview
impl PartialEq for UserInputOptionPreview
Source§impl Serialize for UserInputOptionPreview
impl Serialize for UserInputOptionPreview
impl StructuralPartialEq for UserInputOptionPreview
Auto Trait Implementations§
impl Freeze for UserInputOptionPreview
impl RefUnwindSafe for UserInputOptionPreview
impl Send for UserInputOptionPreview
impl Sync for UserInputOptionPreview
impl Unpin for UserInputOptionPreview
impl UnsafeUnpin for UserInputOptionPreview
impl UnwindSafe for UserInputOptionPreview
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