pub struct Request { /* private fields */ }
Implementations§
source§impl Request
impl Request
pub unsafe fn new(db_token: u64, body_ptr: u64) -> Self
pub fn take_body(&mut self) -> Box<JsonFile>
pub fn read_table_entry(&self, table: &str, key: &str) -> Option<Box<JsonFile>>
pub fn write_table_entry(&self, table: &str, key: &str, json: &str)
pub fn set_template_name(&self, name: &str)
pub fn set_template_param(&self, key: &str, value: &str)
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§
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