pub struct ComposeService {
pub image: Option<String>,
pub ports: Vec<String>,
pub environment: ComposeEnv,
pub volumes: Vec<String>,
pub depends_on: ComposeDependsOn,
}Expand description
A single service in docker-compose.yml.
Fields§
§image: Option<String>§ports: Vec<String>§environment: ComposeEnv§volumes: Vec<String>§depends_on: ComposeDependsOnTrait Implementations§
Source§impl Debug for ComposeService
impl Debug for ComposeService
Source§impl<'de> Deserialize<'de> for ComposeService
impl<'de> Deserialize<'de> for ComposeService
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
Auto Trait Implementations§
impl Freeze for ComposeService
impl RefUnwindSafe for ComposeService
impl Send for ComposeService
impl Sync for ComposeService
impl Unpin for ComposeService
impl UnsafeUnpin for ComposeService
impl UnwindSafe for ComposeService
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