pub struct RequestIdentity {
pub session_id: SessionId,
pub project_root: ProjectRootId,
}Expand description
Identity carried by routed requests.
The session id scopes per-session state while the project root id scopes project-shared state and is suitable for lease/scheduler map keys.
Fields§
§session_id: SessionId§project_root: ProjectRootIdImplementations§
Trait Implementations§
Source§impl Clone for RequestIdentity
impl Clone for RequestIdentity
Source§impl Debug for RequestIdentity
impl Debug for RequestIdentity
impl Eq for RequestIdentity
Source§impl Hash for RequestIdentity
impl Hash for RequestIdentity
Source§impl PartialEq for RequestIdentity
impl PartialEq for RequestIdentity
impl StructuralPartialEq for RequestIdentity
Auto Trait Implementations§
impl Freeze for RequestIdentity
impl RefUnwindSafe for RequestIdentity
impl Send for RequestIdentity
impl Sync for RequestIdentity
impl Unpin for RequestIdentity
impl UnsafeUnpin for RequestIdentity
impl UnwindSafe for RequestIdentity
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