#[non_exhaustive]pub struct DecisionChoice {
pub value: DecisionChoiceValue,
pub description: Option<String>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: DecisionChoiceValue§description: Option<String>§rest: RestImplementations§
Source§impl DecisionChoice
impl DecisionChoice
Sourcepub fn builder(value: DecisionChoiceValue) -> DecisionChoiceBuilder
pub fn builder(value: DecisionChoiceValue) -> DecisionChoiceBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for DecisionChoice
impl Clone for DecisionChoice
Source§impl Debug for DecisionChoice
impl Debug for DecisionChoice
Source§impl DeclaredFields for DecisionChoice
impl DeclaredFields for DecisionChoice
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for DecisionChoice
impl<'de> Deserialize<'de> for DecisionChoice
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 DecisionChoice
impl PartialEq for DecisionChoice
Source§impl Serialize for DecisionChoice
impl Serialize for DecisionChoice
impl StructuralPartialEq for DecisionChoice
Auto Trait Implementations§
impl Freeze for DecisionChoice
impl RefUnwindSafe for DecisionChoice
impl Send for DecisionChoice
impl Sync for DecisionChoice
impl Unpin for DecisionChoice
impl UnsafeUnpin for DecisionChoice
impl UnwindSafe for DecisionChoice
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