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>,
pub map: HashMap<String, OpType<String>>,
pub maps: Vec<HashMap<String, OpType<String>>>,
}Expand description
Parsed request data.
Fields§
§original: &'a strOriginal request string.
key_val_delimeter: &'a strDelimeter for pairs key:value.
commands_delimeter: &'a strDelimeter for commands.
subject: StringParsed subject of first command.
subjects: Vec<String>All subjects of the commands in request.
map: HashMap<String, OpType<String>>Options map of first command.
maps: Vec<HashMap<String, OpType<String>>>All options maps of the commands in request.
Trait Implementations§
impl<'a> StructuralPartialEq for Request<'a>
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
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§
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