Struct std_x::dependencies::strs_tools::string::parse_request::Request
source · [−]pub struct Request<'a> {
pub original: &'a str,
pub key_val_delimeter: &'a str,
pub commands_delimeter: &'a str,
pub subject: String,
pub subjects: Vec<String, Global>,
pub map: HashMap<String, OpType<String>, RandomState>,
pub maps: Vec<HashMap<String, OpType<String>, RandomState>, Global>,
}
Expand description
Parsed request data.
Fields
original: &'a str
Original request string.
key_val_delimeter: &'a str
Delimeter for pairs key:value
.
commands_delimeter: &'a str
Delimeter for commands.
subject: String
Parsed subject of first command.
subjects: Vec<String, Global>
All subjects of the commands in request.
map: HashMap<String, OpType<String>, RandomState>
Options map of first command.
maps: Vec<HashMap<String, OpType<String>, RandomState>, Global>
All options maps of the commands in request.
Trait Implementations
impl<'a> StructuralPartialEq for Request<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
sourceimpl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Original where
Target: VectorizedFrom<Original>,
sourcefn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.