pub enum EchoEvent {
EchoMinimalEvent {},
EchoEvent {
value: Struct,
},
OnEchoNamedEvent {
value: SimpleStruct,
},
OnEchoTablePayloadEvent {
payload: ResponseTable,
},
OnEchoUnionPayloadEvent {
payload: ResponseUnion,
},
}
Variants§
EchoMinimalEvent
EchoEvent
OnEchoNamedEvent
Fields
§
value: SimpleStruct
OnEchoTablePayloadEvent
Fields
§
payload: ResponseTable
OnEchoUnionPayloadEvent
Fields
§
payload: ResponseUnion
Implementations§
Source§impl EchoEvent
impl EchoEvent
pub fn into_echo_minimal_event(self) -> Option<()>
pub fn into_echo_event(self) -> Option<Struct>
pub fn into_on_echo_named_event(self) -> Option<SimpleStruct>
pub fn into_on_echo_table_payload_event(self) -> Option<ResponseTable>
pub fn into_on_echo_union_payload_event(self) -> Option<ResponseUnion>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EchoEvent
impl RefUnwindSafe for EchoEvent
impl Send for EchoEvent
impl Sync for EchoEvent
impl Unpin for EchoEvent
impl UnwindSafe for EchoEvent
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