pub struct APIChoice {
pub message: APIMessage,
}
Expand description
Represents a single choice returned in the API response.
§Fields
message
: The message corresponding to the choice.
Fields§
§message: APIMessage
Trait Implementations§
source§impl<'de> Deserialize<'de> for APIChoice
impl<'de> Deserialize<'de> for APIChoice
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
Auto Trait Implementations§
impl Freeze for APIChoice
impl RefUnwindSafe for APIChoice
impl Send for APIChoice
impl Sync for APIChoice
impl Unpin for APIChoice
impl UnwindSafe for APIChoice
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