pub struct RenderedComment {
pub role: PayloadRole,
pub spec: &'static RoleSpec,
pub body: String,
}Expand description
Outcome of rendering one lifecycle comment.
Fields§
§role: PayloadRole§spec: &'static RoleSpec§body: StringTrait Implementations§
Source§impl Clone for RenderedComment
impl Clone for RenderedComment
Source§fn clone(&self) -> RenderedComment
fn clone(&self) -> RenderedComment
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 moreAuto Trait Implementations§
impl Freeze for RenderedComment
impl RefUnwindSafe for RenderedComment
impl Send for RenderedComment
impl Sync for RenderedComment
impl Unpin for RenderedComment
impl UnsafeUnpin for RenderedComment
impl UnwindSafe for RenderedComment
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