#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct CanChoose {
#[serde(rename = "can_choose_between")]
pub can_choose_between: Vec<crate::models::Bound>,
#[serde(rename = "case_index")]
pub case_index: i32,
#[serde(rename = "for_choice")]
pub for_choice: Box<crate::models::ChoiceId>,
#[serde(rename = "is_merkleized_continuation")]
pub is_merkleized_continuation: bool,
}
impl CanChoose {
pub fn new(
can_choose_between: Vec<crate::models::Bound>,
case_index: i32,
for_choice: crate::models::ChoiceId,
is_merkleized_continuation: bool,
) -> CanChoose {
CanChoose {
can_choose_between,
case_index,
for_choice: Box::new(for_choice),
is_merkleized_continuation,
}
}
}