pub struct PublishedArticle {
pub article: Article,
pub public_article: Article,
}Expand description
Result of a complete publish workflow.
Fields§
§article: ArticlePrivate article payload after publication.
public_article: ArticlePublished public article payload.
Trait Implementations§
Source§impl Clone for PublishedArticle
impl Clone for PublishedArticle
Source§fn clone(&self) -> PublishedArticle
fn clone(&self) -> PublishedArticle
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 PublishedArticle
impl Debug for PublishedArticle
Source§impl MutablePublicationOutcome for PublishedArticle
impl MutablePublicationOutcome for PublishedArticle
Source§type MutableResource = Article
type MutableResource = Article
Mutable or private-side resource type returned by the workflow.
Source§fn mutable_resource(&self) -> Option<&Self::MutableResource>
fn mutable_resource(&self) -> Option<&Self::MutableResource>
Returns the mutable or private-side resource when the workflow exposes one.
Source§impl PartialEq for PublishedArticle
impl PartialEq for PublishedArticle
Source§impl PublicationOutcome for PublishedArticle
impl PublicationOutcome for PublishedArticle
Source§type PublicResource = Article
type PublicResource = Article
Public resource type returned by the workflow.
Source§fn public_resource(&self) -> &Self::PublicResource
fn public_resource(&self) -> &Self::PublicResource
Returns the final public resource visible after the workflow completes.
impl StructuralPartialEq for PublishedArticle
Auto Trait Implementations§
impl Freeze for PublishedArticle
impl RefUnwindSafe for PublishedArticle
impl Send for PublishedArticle
impl Sync for PublishedArticle
impl Unpin for PublishedArticle
impl UnsafeUnpin for PublishedArticle
impl UnwindSafe for PublishedArticle
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