pub struct BatchChoice { /* private fields */ }
Implementations§
Source§impl BatchChoice
impl BatchChoice
pub fn index(&self) -> u32
pub fn message(&self) -> &BatchMessage
pub fn finish_reason(&self) -> &FinishReason
Trait Implementations§
Source§impl Debug for BatchChoice
impl Debug for BatchChoice
Source§impl<'de> Deserialize<'de> for BatchChoice
impl<'de> Deserialize<'de> for BatchChoice
Source§fn deserialize<D>(deserializer: D) -> Result<BatchChoice, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<BatchChoice, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !Freeze for BatchChoice
impl RefUnwindSafe for BatchChoice
impl Send for BatchChoice
impl !Sync for BatchChoice
impl Unpin for BatchChoice
impl UnwindSafe for BatchChoice
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