pub struct Variables {
pub mode: Mode,
pub repository: BTreeMap<String, String>,
pub environments: BTreeMap<EnvironmentName, BTreeMap<String, String>>,
}Expand description
Desired Actions variables of a repository.
Fields§
§mode: ModeWhether variables that are not declared are kept or deleted.
repository: BTreeMap<String, String>Repository variables keyed by name.
environments: BTreeMap<EnvironmentName, BTreeMap<String, String>>Environment variables keyed by environment name, then by variable name.
Implementations§
Trait Implementations§
impl Eq for Variables
impl StructuralPartialEq for Variables
Auto Trait Implementations§
impl Freeze for Variables
impl RefUnwindSafe for Variables
impl Send for Variables
impl Sync for Variables
impl Unpin for Variables
impl UnsafeUnpin for Variables
impl UnwindSafe for Variables
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.