pub struct BranchCreatedV1 {
pub thread: String,
pub branch_id: TimelineBranchId,
pub parent_branch_id: Option<TimelineBranchId>,
pub from_step_id: Option<TimelineStepId>,
pub from_state: ChangeId,
pub reason: TimelineBranchReason,
pub created_at_ms: i64,
}Expand description
Branch creation operation body.
Fields§
§thread: String§branch_id: TimelineBranchId§parent_branch_id: Option<TimelineBranchId>§from_step_id: Option<TimelineStepId>§from_state: ChangeId§reason: TimelineBranchReason§created_at_ms: i64Trait Implementations§
Source§impl Clone for BranchCreatedV1
impl Clone for BranchCreatedV1
Source§fn clone(&self) -> BranchCreatedV1
fn clone(&self) -> BranchCreatedV1
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 BranchCreatedV1
impl Debug for BranchCreatedV1
Source§impl<'de> Deserialize<'de> for BranchCreatedV1
impl<'de> Deserialize<'de> for BranchCreatedV1
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
impl Eq for BranchCreatedV1
Source§impl PartialEq for BranchCreatedV1
impl PartialEq for BranchCreatedV1
Source§fn eq(&self, other: &BranchCreatedV1) -> bool
fn eq(&self, other: &BranchCreatedV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BranchCreatedV1
impl Serialize for BranchCreatedV1
impl StructuralPartialEq for BranchCreatedV1
Auto Trait Implementations§
impl Freeze for BranchCreatedV1
impl RefUnwindSafe for BranchCreatedV1
impl Send for BranchCreatedV1
impl Sync for BranchCreatedV1
impl Unpin for BranchCreatedV1
impl UnsafeUnpin for BranchCreatedV1
impl UnwindSafe for BranchCreatedV1
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