pub struct SessionBranch {
pub root_id: String,
pub entries: Vec<SessionEntry>,
}Expand description
A linear branch within a session.
A branch is a sequence of entries sharing a common root. Branches are created
via Session::fork and are identified by a unique branch ID.
Fields§
§root_id: StringID of the root entry this branch originates from.
entries: Vec<SessionEntry>Ordered entries in this branch.
Trait Implementations§
Source§impl Clone for SessionBranch
impl Clone for SessionBranch
Source§fn clone(&self) -> SessionBranch
fn clone(&self) -> SessionBranch
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 Freeze for SessionBranch
impl RefUnwindSafe for SessionBranch
impl Send for SessionBranch
impl Sync for SessionBranch
impl Unpin for SessionBranch
impl UnsafeUnpin for SessionBranch
impl UnwindSafe for SessionBranch
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