pub struct PrSummaryGenerator { /* private fields */ }Expand description
Generate a pull-request description from commits and a diff.
Implementations§
Source§impl PrSummaryGenerator
impl PrSummaryGenerator
pub fn new(provider: Arc<dyn Provider>, model: impl Into<String>) -> Self
pub fn with_repository(self, repository: impl Into<PathBuf>) -> Self
pub fn base(self, base: impl Into<String>) -> Self
pub fn title(self, title: Option<String>) -> Self
pub async fn generate(&self) -> Result<String, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for PrSummaryGenerator
impl !UnwindSafe for PrSummaryGenerator
impl Freeze for PrSummaryGenerator
impl Send for PrSummaryGenerator
impl Sync for PrSummaryGenerator
impl Unpin for PrSummaryGenerator
impl UnsafeUnpin for PrSummaryGenerator
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