pub struct ReleaseToken {
pub token: &'static str,
pub is_publisher: bool,
pub is_publish_stage: bool,
}Expand description
One entry in anodizer’s canonical --skip / --publishers vocabulary,
emitted by anodizer vocabulary for machine consumers (the GitHub Action
derives its skip / publisher token sets from this instead of re-deriving
them in shell).
is_publisher marks the publisher tokens (the half of the vocabulary that
--publishers also accepts); is_publish_stage mirrors
PublisherKind::is_publish_stage for those, and is always false for
the non-publisher pipeline-stage tokens.
Fields§
§token: &'static strThe canonical lowercase token, exactly as --skip / --publishers
key on it (e.g. homebrew, never homebrew-cask; uploads, never
upload).
is_publisher: booltrue for the publisher half of the vocabulary — the tokens
--publishers also accepts. false for non-publisher stage tokens.
is_publish_stage: booltrue when this is a publisher that fires its publish from a pipeline
stage rather than the trait-dispatch chokepoint (see
PublisherKind::is_publish_stage). Always false for non-publisher
stage tokens.
Trait Implementations§
Source§impl Clone for ReleaseToken
impl Clone for ReleaseToken
Source§fn clone(&self) -> ReleaseToken
fn clone(&self) -> ReleaseToken
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ReleaseToken
Source§impl Debug for ReleaseToken
impl Debug for ReleaseToken
impl Eq for ReleaseToken
Source§impl PartialEq for ReleaseToken
impl PartialEq for ReleaseToken
Source§impl Serialize for ReleaseToken
impl Serialize for ReleaseToken
impl StructuralPartialEq for ReleaseToken
Auto Trait Implementations§
impl Freeze for ReleaseToken
impl RefUnwindSafe for ReleaseToken
impl Send for ReleaseToken
impl Sync for ReleaseToken
impl Unpin for ReleaseToken
impl UnsafeUnpin for ReleaseToken
impl UnwindSafe for ReleaseToken
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
key and return true if they are equal.