pub enum ReleaseVerdict {
Current,
Behind,
Ahead,
}Expand description
Where one release stands against the newest one published.
Three states rather than a bool, because the third is reachable: the workflow publishes the GitHub release before it publishes the npm packages, so a binary downloaded from the release page is newer than the registry for as long as that job takes.
Named for what it judges rather than Standing, which wire
already spends on where a toolkit stands: both cross the same wire,
and the generated client gives one name to one type.
Variants§
Current
The newest published release is this one.
Behind
Something newer is published.
Ahead
This release is newer than anything published.
Trait Implementations§
Source§impl Clone for ReleaseVerdict
impl Clone for ReleaseVerdict
impl Copy for ReleaseVerdict
Source§impl Debug for ReleaseVerdict
impl Debug for ReleaseVerdict
Source§impl<'de> Deserialize<'de> for ReleaseVerdict
impl<'de> Deserialize<'de> for ReleaseVerdict
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 ReleaseVerdict
Source§impl PartialEq for ReleaseVerdict
impl PartialEq for ReleaseVerdict
Source§impl Serialize for ReleaseVerdict
impl Serialize for ReleaseVerdict
impl StructuralPartialEq for ReleaseVerdict
Auto Trait Implementations§
impl Freeze for ReleaseVerdict
impl RefUnwindSafe for ReleaseVerdict
impl Send for ReleaseVerdict
impl Sync for ReleaseVerdict
impl Unpin for ReleaseVerdict
impl UnsafeUnpin for ReleaseVerdict
impl UnwindSafe for ReleaseVerdict
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