pub struct TicketBody {
pub markdown: String,
pub format: BodyFormat,
pub raw: Option<String>,
}Expand description
Body text with its source format; raw retained for lossless round-trip.
Fields§
§markdown: String§format: BodyFormat§raw: Option<String>Trait Implementations§
Source§impl Clone for TicketBody
impl Clone for TicketBody
Source§fn clone(&self) -> TicketBody
fn clone(&self) -> TicketBody
Returns a duplicate 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 TicketBody
impl Debug for TicketBody
Source§impl<'de> Deserialize<'de> for TicketBody
impl<'de> Deserialize<'de> for TicketBody
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 PartialEq for TicketBody
impl PartialEq for TicketBody
Source§impl Serialize for TicketBody
impl Serialize for TicketBody
impl Eq for TicketBody
impl StructuralPartialEq for TicketBody
Auto Trait Implementations§
impl Freeze for TicketBody
impl RefUnwindSafe for TicketBody
impl Send for TicketBody
impl Sync for TicketBody
impl Unpin for TicketBody
impl UnsafeUnpin for TicketBody
impl UnwindSafe for TicketBody
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