pub struct PostMarkdownRender {
pub text: Option<String>,
pub mode: Option<String>,
pub context: Option<String>,
}Fields§
§text: Option<String>The Markdown text to render in HTML.
mode: Option<String>The rendering mode.
context: Option<String>The repository context to use when creating references in gfm mode. For example, setting context to octo-org/octo-repo will change the text #42 into an HTML link to issue 42 in the octo-org/octo-repo repository.
Trait Implementations§
Source§impl Clone for PostMarkdownRender
impl Clone for PostMarkdownRender
Source§fn clone(&self) -> PostMarkdownRender
fn clone(&self) -> PostMarkdownRender
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 PostMarkdownRender
impl Debug for PostMarkdownRender
Source§impl Default for PostMarkdownRender
impl Default for PostMarkdownRender
Source§fn default() -> PostMarkdownRender
fn default() -> PostMarkdownRender
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostMarkdownRender
impl<'de> Deserialize<'de> for PostMarkdownRender
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 PostMarkdownRender
impl PartialEq for PostMarkdownRender
Source§impl Serialize for PostMarkdownRender
impl Serialize for PostMarkdownRender
impl StructuralPartialEq for PostMarkdownRender
Auto Trait Implementations§
impl Freeze for PostMarkdownRender
impl RefUnwindSafe for PostMarkdownRender
impl Send for PostMarkdownRender
impl Sync for PostMarkdownRender
impl Unpin for PostMarkdownRender
impl UnwindSafe for PostMarkdownRender
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