pub struct DeleteArticleUseCase;Expand description
Use Case: Delete Article
Marks an article as deleted (soft delete).
Implementations§
Source§impl DeleteArticleUseCase
impl DeleteArticleUseCase
pub fn execute(article: PaywallArticle) -> Result<ArticleDto>
Auto Trait Implementations§
impl Freeze for DeleteArticleUseCase
impl RefUnwindSafe for DeleteArticleUseCase
impl Send for DeleteArticleUseCase
impl Sync for DeleteArticleUseCase
impl Unpin for DeleteArticleUseCase
impl UnsafeUnpin for DeleteArticleUseCase
impl UnwindSafe for DeleteArticleUseCase
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