pub struct Provider {
pub type_: String,
pub options: Option<BTreeMap<String, ProviderOptions>>,
}Expand description
Defines a service that Compose won’t manage directly. Compose delegated the service lifecycle to a dedicated or third-party component.
See more: https://docs.docker.com/reference/compose-file/services/#provider
Fields§
§type_: StringExternal component used by Compose to manage setup and teardown lifecycle of the service.
options: Option<BTreeMap<String, ProviderOptions>>Provider-specific options.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Provider
impl<'de> Deserialize<'de> for Provider
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
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
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