pub struct Scopes {
pub own: Option<String>,
pub base: Option<String>,
pub default: Option<String>,
}Expand description
The scopes of a runner’s GitHub Actions cache entries, as GitHub’s: refs, refs/heads/<branch> or
refs/pull/<number>/merge, from what GitHub said of its job (ADR 0082).
Fields§
§own: Option<String>Its run’s own ref, where its entries go and what it reads first when its writes are Allowed: its branch’s
for a branch’s run, its pull request’s for a pull request’s. None when it has none, as a run GitHub ties
to several pull requests.
base: Option<String>What it reads next when its writes are Allowed: the branch its pull request merges into.
default: Option<String>Its repository’s default branch, whose entries every job of the repository reads last.
Trait Implementations§
impl Eq for Scopes
impl StructuralPartialEq for Scopes
Auto Trait Implementations§
impl Forget for Scopes
impl Freeze for Scopes
impl Move for Scopes
impl RefUnwindSafe for Scopes
impl Send for Scopes
impl Sync for Scopes
impl Unpin for Scopes
impl UnsafeUnpin for Scopes
impl UnwindSafe for Scopes
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
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
Compare self to
key and return true if they are equal.