pub struct CommentOptions {
pub blame_text: Option<String>,
pub explain_text: Option<String>,
}Expand description
Options for customizing the rendered comment.
Fields§
§blame_text: Option<String>Optional blame text to include in the comment.
explain_text: Option<String>Optional explain text to include in the comment.
Trait Implementations§
Source§impl Clone for CommentOptions
impl Clone for CommentOptions
Source§fn clone(&self) -> CommentOptions
fn clone(&self) -> CommentOptions
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 CommentOptions
impl Debug for CommentOptions
Source§impl Default for CommentOptions
impl Default for CommentOptions
Source§fn default() -> CommentOptions
fn default() -> CommentOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommentOptions
impl RefUnwindSafe for CommentOptions
impl Send for CommentOptions
impl Sync for CommentOptions
impl Unpin for CommentOptions
impl UnsafeUnpin for CommentOptions
impl UnwindSafe for CommentOptions
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