pub struct MsgraphItemBody {
pub content_type: Option<MsgraphBodyType>,
pub content: Option<String>,
}Expand description
The body of a message, in text or HTML format.
Fields§
§content_type: Option<MsgraphBodyType>The format of the body content.
content: Option<String>The body content itself.
Trait Implementations§
Source§impl Clone for MsgraphItemBody
impl Clone for MsgraphItemBody
Source§fn clone(&self) -> MsgraphItemBody
fn clone(&self) -> MsgraphItemBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MsgraphItemBody
impl Debug for MsgraphItemBody
Source§impl Default for MsgraphItemBody
impl Default for MsgraphItemBody
Source§fn default() -> MsgraphItemBody
fn default() -> MsgraphItemBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MsgraphItemBody
impl<'de> Deserialize<'de> for MsgraphItemBody
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 MsgraphItemBody
Source§impl PartialEq for MsgraphItemBody
impl PartialEq for MsgraphItemBody
Source§impl Serialize for MsgraphItemBody
impl Serialize for MsgraphItemBody
impl StructuralPartialEq for MsgraphItemBody
Auto Trait Implementations§
impl Freeze for MsgraphItemBody
impl RefUnwindSafe for MsgraphItemBody
impl Send for MsgraphItemBody
impl Sync for MsgraphItemBody
impl Unpin for MsgraphItemBody
impl UnsafeUnpin for MsgraphItemBody
impl UnwindSafe for MsgraphItemBody
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