Skip to content

Commit

Permalink
Remove nightly only feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1Yo committed Nov 13, 2022
1 parent c6a7bd3 commit 04a4a21
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/network/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,18 @@ pub enum DataType {
}

/// where to insert parameters
#[derive(Debug, Clone, PartialEq, Serialize, Copy, Default)]
#[derive(Debug, Clone, PartialEq, Serialize, Copy)]
pub enum InjectionPlace {
#[default]
Path,
Body,
Headers,
HeaderValue,
}

impl Default for InjectionPlace {
fn default() -> Self { InjectionPlace::Path }
}

pub trait Headers {
fn contains_key(&self, key: &str) -> bool;
fn get_value(&self, key: &str) -> Option<String>;
Expand Down

0 comments on commit 04a4a21

Please sign in to comment.