[−][src]Struct fhttp_core::Request
Fields
source_path: PathBuf
text: String
dependency: bool
Implementations
impl Request
[src]
pub fn new<P: Into<PathBuf>, T: Into<String>>(path: P, text: T) -> Result<Self>
[src]
pub fn depdendency<P: Into<PathBuf>, T: Into<String>>(
path: P,
text: T
) -> Result<Self>
[src]
path: P,
text: T
) -> Result<Self>
pub fn from_file(path: &Path, dependency: bool) -> Result<Self>
[src]
pub fn method(&self) -> Result<Method>
[src]
pub fn url(&self) -> Result<&str>
[src]
pub fn headers(&self) -> Result<HeaderMap>
[src]
pub fn dependencies(&self) -> Vec<PathBuf>
[src]
pub fn gql_file(&self) -> bool
[src]
pub fn get_dependency_path(&self, path: &str) -> PathBuf
[src]
Trait Implementations
impl Debug for Request
[src]
impl Eq for Request
[src]
impl PartialEq<Request> for Request
[src]
impl RequestResponseHandlerExt for Request
[src]
fn response_handler(&self) -> Result<Option<ResponseHandler>>
[src]
impl StructuralEq for Request
[src]
impl VariableSupport for Request
[src]
fn get_env_vars(&self) -> Vec<EnvVarOccurrence>
[src]
fn replace_variables(
&mut self,
profile: &Profile,
config: &Config,
response_store: &ResponseStore
) -> Result<()>
[src]
&mut self,
profile: &Profile,
config: &Config,
response_store: &ResponseStore
) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations
impl<T> Also for T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, Res> Apply<Res> for T where
T: ?Sized,
[src]
T: ?Sized,
fn apply<F>(self, f: F) -> Res where
F: FnOnce(Self) -> Res,
[src]
F: FnOnce(Self) -> Res,
fn apply_ref<F>(&self, f: F) -> Res where
F: FnOnce(&Self) -> Res,
[src]
F: FnOnce(&Self) -> Res,
fn apply_mut<F>(&mut self, f: F) -> Res where
F: FnOnce(&mut Self) -> Res,
[src]
F: FnOnce(&mut Self) -> Res,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,