pub struct RequestSource<State = Raw> {
pub source_path: CanonicalizedPathBuf,
pub text: String,
pub dependency: bool,
/* private fields */
}
Fields§
§source_path: CanonicalizedPathBuf
§text: String
§dependency: bool
Implementations§
Source§impl<State> RequestSource<State>
impl<State> RequestSource<State>
Source§impl RequestSource<Raw>
impl RequestSource<Raw>
pub fn replace_variables( self, profile: &Profile, config: &Config, response_store: &ResponseStore, ) -> Result<RequestSource<Preprocessed>>
Source§impl RequestSource<Preprocessed>
impl RequestSource<Preprocessed>
pub fn parse(self) -> Result<RequestWrapper>
Trait Implementations§
Source§impl<T> AsRef<Path> for RequestSource<T>
impl<T> AsRef<Path> for RequestSource<T>
Source§impl<State: Debug> Debug for RequestSource<State>
impl<State: Debug> Debug for RequestSource<State>
Source§impl<T> Dependant for RequestSource<T>
impl<T> Dependant for RequestSource<T>
fn dependencies(&self) -> Result<Vec<RequestDependencyEval<'_>>>
fn unescaped_dependencies(&self) -> Result<Vec<RequestDependencyEval<'_>>>
Source§impl Hash for RequestSource
impl Hash for RequestSource
Source§impl<T> PartialEq for RequestSource<T>
impl<T> PartialEq for RequestSource<T>
impl<State: Eq> Eq for RequestSource<State>
Auto Trait Implementations§
impl<State> Freeze for RequestSource<State>
impl<State> RefUnwindSafe for RequestSource<State>where
State: RefUnwindSafe,
impl<State> Send for RequestSource<State>where
State: Send,
impl<State> Sync for RequestSource<State>where
State: Sync,
impl<State> Unpin for RequestSource<State>where
State: Unpin,
impl<State> UnwindSafe for RequestSource<State>where
State: UnwindSafe,
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.