pub struct SessionGetInput<'a, Path, Query: QueryData> {
pub session: &'a Session,
pub path: Path,
pub query: Query,
}Fields§
§session: &'a Session§path: Path§query: QueryImplementations§
Source§impl<'a, Path> SessionGetInput<'a, Path, Empty>
impl<'a, Path> SessionGetInput<'a, Path, Empty>
pub fn new_with_path(session: &'a Session, path: Path) -> Self
Source§impl<'a, Query: Serialize> SessionGetInput<'a, Empty, Query>
impl<'a, Query: Serialize> SessionGetInput<'a, Empty, Query>
pub fn new_with_query(session: &'a Session, query: Query) -> Self
Trait Implementations§
Source§impl<'a, Path: Clone, Query: Clone + QueryData> Clone for SessionGetInput<'a, Path, Query>
impl<'a, Path: Clone, Query: Clone + QueryData> Clone for SessionGetInput<'a, Path, Query>
Source§fn clone(&self) -> SessionGetInput<'a, Path, Query>
fn clone(&self) -> SessionGetInput<'a, Path, Query>
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, Query> !RefUnwindSafe for SessionGetInput<'a, Path, Query>
impl<'a, Path, Query> !UnwindSafe for SessionGetInput<'a, Path, Query>
impl<'a, Path, Query> Freeze for SessionGetInput<'a, Path, Query>
impl<'a, Path, Query> Send for SessionGetInput<'a, Path, Query>
impl<'a, Path, Query> Sync for SessionGetInput<'a, Path, Query>
impl<'a, Path, Query> Unpin for SessionGetInput<'a, Path, Query>
impl<'a, Path, Query> UnsafeUnpin for SessionGetInput<'a, Path, Query>where
Path: UnsafeUnpin,
Query: 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