pub struct ResponseCreatedEvent {
pub id: Option<String>,
pub response: Option<JsonPayload>,
pub raw: WebSocketServerEvent,
}Available on crate features
realtime or responses-ws only.Expand description
表示响应创建事件。
Fields§
§id: Option<String>响应 ID。
response: Option<JsonPayload>原始响应对象。
raw: WebSocketServerEvent原始事件。
Trait Implementations§
Source§impl Clone for ResponseCreatedEvent
impl Clone for ResponseCreatedEvent
Source§fn clone(&self) -> ResponseCreatedEvent
fn clone(&self) -> ResponseCreatedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseCreatedEvent
impl Debug for ResponseCreatedEvent
Source§impl PartialEq for ResponseCreatedEvent
impl PartialEq for ResponseCreatedEvent
impl StructuralPartialEq for ResponseCreatedEvent
Auto Trait Implementations§
impl Freeze for ResponseCreatedEvent
impl RefUnwindSafe for ResponseCreatedEvent
impl Send for ResponseCreatedEvent
impl Sync for ResponseCreatedEvent
impl Unpin for ResponseCreatedEvent
impl UnsafeUnpin for ResponseCreatedEvent
impl UnwindSafe for ResponseCreatedEvent
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