#[non_exhaustive]pub enum DecisionInputPart {
InputText {
text: String,
rest: Rest,
},
InputImage {
image_url: String,
detail: Option<Option<DecisionImageDetail>>,
rest: Rest,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for DecisionInputPart
impl Clone for DecisionInputPart
Source§impl Debug for DecisionInputPart
impl Debug for DecisionInputPart
Source§impl DeclaredFields for DecisionInputPart
impl DeclaredFields for DecisionInputPart
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for DecisionInputPart
impl<'de> Deserialize<'de> for DecisionInputPart
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 DecisionInputPart
impl PartialEq for DecisionInputPart
Source§impl Serialize for DecisionInputPart
impl Serialize for DecisionInputPart
impl StructuralPartialEq for DecisionInputPart
Auto Trait Implementations§
impl Freeze for DecisionInputPart
impl RefUnwindSafe for DecisionInputPart
impl Send for DecisionInputPart
impl Sync for DecisionInputPart
impl Unpin for DecisionInputPart
impl UnsafeUnpin for DecisionInputPart
impl UnwindSafe for DecisionInputPart
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