pub struct OSDefault {
pub subject: String,
pub body: String,
pub ok_button: Option<Button>,
pub neautral_button: Option<Button>,
pub cancel_button: Option<Button>,
}
Fields§
§subject: String
§body: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OSDefault
impl<'de> Deserialize<'de> for OSDefault
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
Source§impl<'a> MessageRead<'a> for OSDefault
impl<'a> MessageRead<'a> for OSDefault
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for OSDefault
impl MessageWrite for OSDefault
impl StructuralPartialEq for OSDefault
Auto Trait Implementations§
impl Freeze for OSDefault
impl RefUnwindSafe for OSDefault
impl Send for OSDefault
impl Sync for OSDefault
impl Unpin for OSDefault
impl UnwindSafe for OSDefault
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