pub struct ProjectLongEnvironmentFile { /* private fields */ }Expand description
Effective long-syntax service environment-file options.
Implementations§
Source§impl ProjectLongEnvironmentFile
impl ProjectLongEnvironmentFile
Sourcepub const fn path(&self) -> Option<&ProjectValue<String>>
pub const fn path(&self) -> Option<&ProjectValue<String>>
Returns the required environment-file path.
Sourcepub const fn required(&self) -> Option<&ProjectValue<BooleanValue>>
pub const fn required(&self) -> Option<&ProjectValue<BooleanValue>>
Returns the explicit required-file choice; absence means Compose’s default true.
Sourcepub const fn format(&self) -> Option<&ProjectValue<EnvironmentFileFormat>>
pub const fn format(&self) -> Option<&ProjectValue<EnvironmentFileFormat>>
Returns the explicit parser format; absence means Compose’s default format.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns retained long-form fields outside the typed project-view boundary.
Trait Implementations§
Source§impl Clone for ProjectLongEnvironmentFile
impl Clone for ProjectLongEnvironmentFile
Source§fn clone(&self) -> ProjectLongEnvironmentFile
fn clone(&self) -> ProjectLongEnvironmentFile
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 ProjectLongEnvironmentFile
impl Debug for ProjectLongEnvironmentFile
impl Eq for ProjectLongEnvironmentFile
impl StructuralPartialEq for ProjectLongEnvironmentFile
Auto Trait Implementations§
impl Freeze for ProjectLongEnvironmentFile
impl RefUnwindSafe for ProjectLongEnvironmentFile
impl Send for ProjectLongEnvironmentFile
impl Sync for ProjectLongEnvironmentFile
impl Unpin for ProjectLongEnvironmentFile
impl UnsafeUnpin for ProjectLongEnvironmentFile
impl UnwindSafe for ProjectLongEnvironmentFile
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