pub struct BranchCandidate {
pub branch_id: String,
pub status: WorkflowRunStatus,
pub score: u32,
pub cost: u64,
pub diversity_key: Option<String>,
}Fields§
§branch_id: String§status: WorkflowRunStatus§score: u32§cost: u64§diversity_key: Option<String>Trait Implementations§
Source§impl Clone for BranchCandidate
impl Clone for BranchCandidate
Source§fn clone(&self) -> BranchCandidate
fn clone(&self) -> BranchCandidate
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 BranchCandidate
impl Debug for BranchCandidate
Source§impl<'de> Deserialize<'de> for BranchCandidate
impl<'de> Deserialize<'de> for BranchCandidate
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 BranchCandidate
Source§impl PartialEq for BranchCandidate
impl PartialEq for BranchCandidate
Source§impl Serialize for BranchCandidate
impl Serialize for BranchCandidate
impl StructuralPartialEq for BranchCandidate
Auto Trait Implementations§
impl Freeze for BranchCandidate
impl RefUnwindSafe for BranchCandidate
impl Send for BranchCandidate
impl Sync for BranchCandidate
impl Unpin for BranchCandidate
impl UnsafeUnpin for BranchCandidate
impl UnwindSafe for BranchCandidate
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