#[non_exhaustive]pub struct RealtimeMcphttpError {
pub code: i64,
pub message: String,
pub type_: RealtimeMcphttpErrorType,
pub rest: Rest,
}Expand description
Source: openai/types/realtime/realtime_mcphttp_error.py, RealtimeMcphttpError.
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.code: i64§message: String§type_: RealtimeMcphttpErrorType§rest: RestImplementations§
Source§impl RealtimeMcphttpError
impl RealtimeMcphttpError
Sourcepub fn builder(
code: i64,
message: String,
type_: RealtimeMcphttpErrorType,
) -> RealtimeMcphttpErrorBuilder
pub fn builder( code: i64, message: String, type_: RealtimeMcphttpErrorType, ) -> RealtimeMcphttpErrorBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for RealtimeMcphttpError
impl Clone for RealtimeMcphttpError
Source§impl Debug for RealtimeMcphttpError
impl Debug for RealtimeMcphttpError
Source§impl DeclaredFields for RealtimeMcphttpError
impl DeclaredFields for RealtimeMcphttpError
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for RealtimeMcphttpError
impl<'de> Deserialize<'de> for RealtimeMcphttpError
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 RealtimeMcphttpError
impl PartialEq for RealtimeMcphttpError
Source§impl Serialize for RealtimeMcphttpError
impl Serialize for RealtimeMcphttpError
impl StructuralPartialEq for RealtimeMcphttpError
Auto Trait Implementations§
impl Freeze for RealtimeMcphttpError
impl RefUnwindSafe for RealtimeMcphttpError
impl Send for RealtimeMcphttpError
impl Sync for RealtimeMcphttpError
impl Unpin for RealtimeMcphttpError
impl UnsafeUnpin for RealtimeMcphttpError
impl UnwindSafe for RealtimeMcphttpError
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