pub struct PublishOutcome {
pub entry: TemplateEntry,
pub released: ReleasedArtifacts,
}Expand description
Result of publishing: the frozen version plus any released artifacts.
An idempotent re-publish can collapse a rebuilt same-digest draft whose warm snapshot the published version never shared; that snapshot comes back here for the caller to reclaim.
Fields§
§entry: TemplateEntryThe published entry.
released: ReleasedArtifactsTrait Implementations§
Auto Trait Implementations§
impl Freeze for PublishOutcome
impl RefUnwindSafe for PublishOutcome
impl Send for PublishOutcome
impl Sync for PublishOutcome
impl Unpin for PublishOutcome
impl UnsafeUnpin for PublishOutcome
impl UnwindSafe for PublishOutcome
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