pub struct PublishedRecord {
pub deposition: Deposition,
pub record: Record,
}Expand description
Result of a complete publish workflow.
Fields§
§deposition: DepositionFinal deposition payload after publishing.
record: RecordPublished record fetched from the records API.
Trait Implementations§
Source§impl Clone for PublishedRecord
impl Clone for PublishedRecord
Source§fn clone(&self) -> PublishedRecord
fn clone(&self) -> PublishedRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublishedRecord
impl Debug for PublishedRecord
Source§impl MutablePublicationOutcome for PublishedRecord
impl MutablePublicationOutcome for PublishedRecord
Source§type MutableResource = Deposition
type MutableResource = Deposition
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 PublishedRecord
impl PartialEq for PublishedRecord
Source§fn eq(&self, other: &PublishedRecord) -> bool
fn eq(&self, other: &PublishedRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PublicationOutcome for PublishedRecord
impl PublicationOutcome for PublishedRecord
Source§type PublicResource = Record
type PublicResource = Record
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 Eq for PublishedRecord
impl StructuralPartialEq for PublishedRecord
Auto Trait Implementations§
impl Freeze for PublishedRecord
impl RefUnwindSafe for PublishedRecord
impl Send for PublishedRecord
impl Sync for PublishedRecord
impl Unpin for PublishedRecord
impl UnsafeUnpin for PublishedRecord
impl UnwindSafe for PublishedRecord
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