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§
Source§impl<'a, Path: Clone, Data: Clone + BodyData> Clone for SessionPostInput<'a, Path, Data>
impl<'a, Path: Clone, Data: Clone + BodyData> Clone for SessionPostInput<'a, Path, Data>
Source§fn clone(&self) -> SessionPostInput<'a, Path, Data>
fn clone(&self) -> SessionPostInput<'a, Path, Data>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a, Path, Data> !RefUnwindSafe for SessionPostInput<'a, Path, Data>
impl<'a, Path, Data> !UnwindSafe for SessionPostInput<'a, Path, Data>
impl<'a, Path, Data> Freeze 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> UnsafeUnpin for SessionPostInput<'a, Path, Data>where
Path: UnsafeUnpin,
Data: UnsafeUnpin,
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