pub enum SessionLoc {
Root {
key: ProjectKey,
session_id: String,
},
Child {
key: ProjectKey,
parent_id: String,
child_id: String,
},
}Expand description
Logical location of a session: a root (parent) or a child under a parent.
Variants§
Trait Implementations§
Source§impl Clone for SessionLoc
impl Clone for SessionLoc
Source§fn clone(&self) -> SessionLoc
fn clone(&self) -> SessionLoc
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 moreSource§impl Debug for SessionLoc
impl Debug for SessionLoc
impl Eq for SessionLoc
Source§impl PartialEq for SessionLoc
impl PartialEq for SessionLoc
Source§fn eq(&self, other: &SessionLoc) -> bool
fn eq(&self, other: &SessionLoc) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionLoc
Auto Trait Implementations§
impl Freeze for SessionLoc
impl RefUnwindSafe for SessionLoc
impl Send for SessionLoc
impl Sync for SessionLoc
impl Unpin for SessionLoc
impl UnsafeUnpin for SessionLoc
impl UnwindSafe for SessionLoc
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