pub struct Environments {
pub mode: Mode,
pub environments: BTreeMap<EnvironmentName, Environment>,
}Expand description
Desired deployment environments of a repository.
Fields§
§mode: ModeWhether environments that are not declared are kept or deleted.
environments: BTreeMap<EnvironmentName, Environment>The environments keyed by name.
Implementations§
Source§impl Environments
impl Environments
Trait Implementations§
Source§impl Clone for Environments
impl Clone for Environments
Source§fn clone(&self) -> Environments
fn clone(&self) -> Environments
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Environments
impl Debug for Environments
impl Eq for Environments
Source§impl<'ʄ> Facet<'ʄ> for Environments
impl<'ʄ> Facet<'ʄ> for Environments
Source§impl PartialEq for Environments
impl PartialEq for Environments
impl StructuralPartialEq for Environments
Auto Trait Implementations§
impl Freeze for Environments
impl RefUnwindSafe for Environments
impl Send for Environments
impl Sync for Environments
impl Unpin for Environments
impl UnsafeUnpin for Environments
impl UnwindSafe for Environments
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.