pub enum Extends {
Simple(String),
Detailed {
service: String,
file: Option<String>,
},
}Expand description
extends lets you share common configurations among different files, or even different projects entirely.
See more: https://docs.docker.com/reference/compose-file/services/#extends
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Extends
impl<'de> Deserialize<'de> for Extends
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
Source§impl Ord for Extends
impl Ord for Extends
Source§impl PartialOrd for Extends
impl PartialOrd for Extends
impl Eq for Extends
impl StructuralPartialEq for Extends
Auto Trait Implementations§
impl Freeze for Extends
impl RefUnwindSafe for Extends
impl Send for Extends
impl Sync for Extends
impl Unpin for Extends
impl UnsafeUnpin for Extends
impl UnwindSafe for Extends
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.