pub enum DefaultKind {
ImplicitNetwork,
ServiceNetwork,
PortProtocol,
PortMode,
VolumeReadOnly,
ConfigTarget,
ConfigMode,
SecretTarget,
SecretMode,
RestartPolicy,
}Expand description
A configurable omission for which a semantic default can be requested.
Variants§
ImplicitNetwork
The implicit project network definition.
ServiceNetwork
A service attachment to the implicit default network.
PortProtocol
Port protocol, documented as tcp.
PortMode
Port publication mode, documented as ingress.
VolumeReadOnly
Volume access mode, documented as read-write.
ConfigTarget
Config target path.
ConfigMode
Config file mode, documented as 0444.
SecretTarget
Secret target name.
SecretMode
Secret file mode, documented as 0444.
RestartPolicy
Service restart policy, documented as no.
Trait Implementations§
Source§impl Clone for DefaultKind
impl Clone for DefaultKind
Source§fn clone(&self) -> DefaultKind
fn clone(&self) -> DefaultKind
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 moreimpl Copy for DefaultKind
Source§impl Debug for DefaultKind
impl Debug for DefaultKind
impl Eq for DefaultKind
Source§impl Hash for DefaultKind
impl Hash for DefaultKind
Source§impl PartialEq for DefaultKind
impl PartialEq for DefaultKind
impl StructuralPartialEq for DefaultKind
Auto Trait Implementations§
impl Freeze for DefaultKind
impl RefUnwindSafe for DefaultKind
impl Send for DefaultKind
impl Sync for DefaultKind
impl Unpin for DefaultKind
impl UnsafeUnpin for DefaultKind
impl UnwindSafe for DefaultKind
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