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