pub struct SessionBranch {
pub branch_id: String,
pub parent_branch_id: Option<String>,
pub name: String,
pub fork_point_run_id: String,
pub fork_point_step_seq: i64,
pub runs: Vec<String>,
pub status: SessionBranchStatus,
pub created_at: String,
}Expand description
SessionBranch model.
Fields§
§branch_id: String§parent_branch_id: Option<String>Absent on the main branch.
name: String§fork_point_run_id: StringThe run this branch forked after. Empty when the session had no runs yet.
fork_point_step_seq: i64§runs: Vec<String>§status: SessionBranchStatus§created_at: StringTrait 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 moreSource§impl Debug for SessionBranch
impl Debug for SessionBranch
Source§impl Default for SessionBranch
impl Default for SessionBranch
Source§fn default() -> SessionBranch
fn default() -> SessionBranch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionBranch
impl<'de> Deserialize<'de> for SessionBranch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SessionBranch
impl PartialEq for SessionBranch
Source§impl Serialize for SessionBranch
impl Serialize for SessionBranch
impl StructuralPartialEq for SessionBranch
Auto 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