#[non_exhaustive]pub struct MaxPrice {
pub audio: Option<String>,
pub completion: Option<String>,
pub image: Option<String>,
pub prompt: Option<String>,
pub request: 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.audio: Option<String>§completion: Option<String>§image: Option<String>§prompt: Option<String>§request: Option<String>§rest: RestImplementations§
Trait Implementations§
Source§impl DeclaredFields for MaxPrice
impl DeclaredFields for MaxPrice
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for MaxPrice
impl<'de> Deserialize<'de> for MaxPrice
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
impl StructuralPartialEq for MaxPrice
Auto Trait Implementations§
impl Freeze for MaxPrice
impl RefUnwindSafe for MaxPrice
impl Send for MaxPrice
impl Sync for MaxPrice
impl Unpin for MaxPrice
impl UnsafeUnpin for MaxPrice
impl UnwindSafe for MaxPrice
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