pub struct SessionPostInput<'a, Path, Data: BodyData> {
pub session: &'a Session,
pub path: Path,
pub data: Data,
}Fields§
§session: &'a Session§path: Path§data: DataImplementations§
Source§impl<'a, Path> SessionPostInput<'a, Path, Empty>
impl<'a, Path> SessionPostInput<'a, Path, Empty>
pub fn new_with_path(session: &'a Session, path: Path) -> Self
Source§impl<'a, Data: Serialize> SessionPostInput<'a, Empty, Data>
impl<'a, Data: Serialize> SessionPostInput<'a, Empty, Data>
pub fn new_with_data(session: &'a Session, data: Data) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a, Path, Data> Freeze for SessionPostInput<'a, Path, Data>
impl<'a, Path, Data> !RefUnwindSafe for SessionPostInput<'a, Path, Data>
impl<'a, Path, Data> Send for SessionPostInput<'a, Path, Data>
impl<'a, Path, Data> Sync for SessionPostInput<'a, Path, Data>
impl<'a, Path, Data> Unpin for SessionPostInput<'a, Path, Data>
impl<'a, Path, Data> !UnwindSafe for SessionPostInput<'a, Path, Data>
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