#[non_exhaustive]pub enum IncludeResourceNamespace {
Services,
Networks,
Volumes,
Configs,
Secrets,
Models,
}Expand description
One of the six top-level definition namespaces composed from includes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Services
Compose services.
Networks
Compose networks.
Volumes
Compose volumes.
Configs
Compose configs.
Secrets
Compose secrets.
Models
Individual Compose model definitions.
Trait Implementations§
Source§impl Clone for IncludeResourceNamespace
impl Clone for IncludeResourceNamespace
Source§fn clone(&self) -> IncludeResourceNamespace
fn clone(&self) -> IncludeResourceNamespace
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 IncludeResourceNamespace
Source§impl Debug for IncludeResourceNamespace
impl Debug for IncludeResourceNamespace
impl Eq for IncludeResourceNamespace
Source§impl Hash for IncludeResourceNamespace
impl Hash for IncludeResourceNamespace
Source§impl Ord for IncludeResourceNamespace
impl Ord for IncludeResourceNamespace
Source§fn cmp(&self, other: &IncludeResourceNamespace) -> Ordering
fn cmp(&self, other: &IncludeResourceNamespace) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IncludeResourceNamespace
impl PartialEq for IncludeResourceNamespace
Source§impl PartialOrd for IncludeResourceNamespace
impl PartialOrd for IncludeResourceNamespace
impl StructuralPartialEq for IncludeResourceNamespace
Auto Trait Implementations§
impl Freeze for IncludeResourceNamespace
impl RefUnwindSafe for IncludeResourceNamespace
impl Send for IncludeResourceNamespace
impl Sync for IncludeResourceNamespace
impl Unpin for IncludeResourceNamespace
impl UnsafeUnpin for IncludeResourceNamespace
impl UnwindSafe for IncludeResourceNamespace
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