pub struct CardReplySpec {
pub workflow: WorkflowKey,
pub case_id: Option<CaseId>,
pub option: OptionId,
pub freeform: Option<String>,
}Expand description
A click, named by what it answers rather than by an identifier.
A card’s InteractionId is minted at
run time, so no file can name one. What a file can name is the case whose
blocking card is being answered, which is how a person describes it anyway.
Fields§
§workflow: WorkflowKeyWorkflow of the case whose blocking card is answered.
case_id: Option<CaseId>Case whose blocking card is answered; absent, the one blocking card open on a case of the workflow, for a case the conversation created.
option: OptionIdThe stored option chosen.
freeform: Option<String>Free-form value, when the stored option permits one.
Trait Implementations§
Source§impl Clone for CardReplySpec
impl Clone for CardReplySpec
Source§impl Debug for CardReplySpec
impl Debug for CardReplySpec
Source§impl<'de> Deserialize<'de> for CardReplySpec
impl<'de> Deserialize<'de> for CardReplySpec
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 CardReplySpec
impl PartialEq for CardReplySpec
Source§impl Serialize for CardReplySpec
impl Serialize for CardReplySpec
impl StructuralPartialEq for CardReplySpec
Auto Trait Implementations§
impl Freeze for CardReplySpec
impl RefUnwindSafe for CardReplySpec
impl Send for CardReplySpec
impl Sync for CardReplySpec
impl Unpin for CardReplySpec
impl UnsafeUnpin for CardReplySpec
impl UnwindSafe for CardReplySpec
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