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