pub enum Entrypoint {
Null(SourceSpan),
String(Located<String>),
List {
span: SourceSpan,
values: Vec<Located<String>>,
},
}Expand description
A Compose service entrypoint with null, scalar, and list forms retained.
Variants§
Null(SourceSpan)
Explicit null: use the entrypoint declared by the image.
String(Located<String>)
Scalar syntax, including an explicitly empty string.
List
List syntax, including an explicitly empty list.
Implementations§
Source§impl Entrypoint
impl Entrypoint
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete entrypoint value span.
Trait Implementations§
Source§impl Clone for Entrypoint
impl Clone for Entrypoint
Source§fn clone(&self) -> Entrypoint
fn clone(&self) -> Entrypoint
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 Entrypoint
impl Debug for Entrypoint
impl Eq for Entrypoint
Source§impl PartialEq for Entrypoint
impl PartialEq for Entrypoint
impl StructuralPartialEq for Entrypoint
Auto Trait Implementations§
impl Freeze for Entrypoint
impl RefUnwindSafe for Entrypoint
impl Send for Entrypoint
impl Sync for Entrypoint
impl Unpin for Entrypoint
impl UnsafeUnpin for Entrypoint
impl UnwindSafe for Entrypoint
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