pub struct EnvironmentFileRequest<'a> { /* private fields */ }Expand description
One explicit request made to a caller-owned environment-file provider.
Implementations§
Source§impl<'a> EnvironmentFileRequest<'a>
impl<'a> EnvironmentFileRequest<'a>
Sourcepub const fn path(&self) -> &'a str
pub const fn path(&self) -> &'a str
Returns the authored path without opening or normalizing it.
Sourcepub const fn mode(&self) -> EnvironmentFileMode
pub const fn mode(&self) -> EnvironmentFileMode
Returns the selected parser mode.
Sourcepub const fn source(&self) -> SourceSpan
pub const fn source(&self) -> SourceSpan
Returns the declaration source span.
Sourcepub const fn is_sensitive(&self) -> bool
pub const fn is_sensitive(&self) -> bool
Reports whether the path itself came from sensitive interpolation.
Trait Implementations§
Source§impl<'a> Clone for EnvironmentFileRequest<'a>
impl<'a> Clone for EnvironmentFileRequest<'a>
Source§fn clone(&self) -> EnvironmentFileRequest<'a>
fn clone(&self) -> EnvironmentFileRequest<'a>
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<'a> Copy for EnvironmentFileRequest<'a>
Source§impl Debug for EnvironmentFileRequest<'_>
impl Debug for EnvironmentFileRequest<'_>
impl<'a> Eq for EnvironmentFileRequest<'a>
Source§impl<'a> PartialEq for EnvironmentFileRequest<'a>
impl<'a> PartialEq for EnvironmentFileRequest<'a>
impl<'a> StructuralPartialEq for EnvironmentFileRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for EnvironmentFileRequest<'a>
impl<'a> RefUnwindSafe for EnvironmentFileRequest<'a>
impl<'a> Send for EnvironmentFileRequest<'a>
impl<'a> Sync for EnvironmentFileRequest<'a>
impl<'a> Unpin for EnvironmentFileRequest<'a>
impl<'a> UnsafeUnpin for EnvironmentFileRequest<'a>
impl<'a> UnwindSafe for EnvironmentFileRequest<'a>
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