pub struct Publication {
pub session: SessionToken,
pub branch: String,
pub policy: MergePolicy,
pub outcome: PublishOutcome,
}Expand description
What one publication did.
The value onevcs publish renders and a caller embedding this crate branches
on. Every ending is a case of PublishOutcome rather than a sentence to
match on, because the sentence is what a consumer read wrongly.
Fields§
§session: SessionTokenThe session that was published.
branch: StringThe branch that carried the change.
policy: MergePolicyThe policy it was published under, after the repository’s rules and any per-run narrowing have both had their say.
outcome: PublishOutcomeWhat happened.
Trait Implementations§
Source§impl Clone for Publication
impl Clone for Publication
Source§impl Debug for Publication
impl Debug for Publication
Source§impl<'de> Deserialize<'de> for Publication
impl<'de> Deserialize<'de> for Publication
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Publication
Source§impl PartialEq for Publication
impl PartialEq for Publication
Source§impl Serialize for Publication
impl Serialize for Publication
impl StructuralPartialEq for Publication
Auto Trait Implementations§
impl Freeze for Publication
impl RefUnwindSafe for Publication
impl Send for Publication
impl Sync for Publication
impl Unpin for Publication
impl UnsafeUnpin for Publication
impl UnwindSafe for Publication
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.