#[non_exhaustive]pub enum GeneratedHostname {
Resolved(GeneratedString),
}Expand description
A resolved service hostname selected for generated Compose output.
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.
Resolved(GeneratedString)
Emit one exact resolved hostname after conservative RFC-1123 validation.
Trait Implementations§
Source§impl Clone for GeneratedHostname
impl Clone for GeneratedHostname
Source§fn clone(&self) -> GeneratedHostname
fn clone(&self) -> GeneratedHostname
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 moreSource§impl Debug for GeneratedHostname
impl Debug for GeneratedHostname
impl Eq for GeneratedHostname
Source§impl PartialEq for GeneratedHostname
impl PartialEq for GeneratedHostname
impl StructuralPartialEq for GeneratedHostname
Auto Trait Implementations§
impl Freeze for GeneratedHostname
impl RefUnwindSafe for GeneratedHostname
impl Send for GeneratedHostname
impl Sync for GeneratedHostname
impl Unpin for GeneratedHostname
impl UnsafeUnpin for GeneratedHostname
impl UnwindSafe for GeneratedHostname
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