pub struct ArchiveArticleUseCase;Expand description
Use Case: Archive Article
Archives an article, preventing new purchases while preserving existing access.
Implementations§
Source§impl ArchiveArticleUseCase
impl ArchiveArticleUseCase
pub fn execute(article: PaywallArticle) -> Result<ArticleDto>
Auto Trait Implementations§
impl Freeze for ArchiveArticleUseCase
impl RefUnwindSafe for ArchiveArticleUseCase
impl Send for ArchiveArticleUseCase
impl Sync for ArchiveArticleUseCase
impl Unpin for ArchiveArticleUseCase
impl UnsafeUnpin for ArchiveArticleUseCase
impl UnwindSafe for ArchiveArticleUseCase
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