pub enum ReferenceKind {
Network,
Volume,
Config,
Secret,
Dependency,
ServiceNamespace,
Link,
Extends,
}Expand description
The semantic kind of a Compose cross-reference.
Variants§
Network
A service network attachment.
Volume
A named service volume mount.
Config
A service config grant.
Secret
A service secret grant.
Dependency
A depends_on service edge.
ServiceNamespace
A service:name namespace edge from network_mode, ipc, or pid.
Link
A legacy links service edge.
Extends
A local extends.service edge without an external file.
Trait Implementations§
Source§impl Clone for ReferenceKind
impl Clone for ReferenceKind
Source§fn clone(&self) -> ReferenceKind
fn clone(&self) -> ReferenceKind
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 ReferenceKind
Source§impl Debug for ReferenceKind
impl Debug for ReferenceKind
impl Eq for ReferenceKind
Source§impl Hash for ReferenceKind
impl Hash for ReferenceKind
Source§impl PartialEq for ReferenceKind
impl PartialEq for ReferenceKind
impl StructuralPartialEq for ReferenceKind
Auto Trait Implementations§
impl Freeze for ReferenceKind
impl RefUnwindSafe for ReferenceKind
impl Send for ReferenceKind
impl Sync for ReferenceKind
impl Unpin for ReferenceKind
impl UnsafeUnpin for ReferenceKind
impl UnwindSafe for ReferenceKind
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