pub struct ChannelOperation {
pub operation_type: OperationType,
pub message_schema: Option<Value>,
pub example_message: Option<Value>,
}Expand description
Channel operation (subscribe/publish)
Fields§
§operation_type: OperationTypeType of operation (subscribe or publish)
message_schema: Option<Value>JSON schema for messages
example_message: Option<Value>Example message payload
Trait Implementations§
Source§impl Debug for ChannelOperation
impl Debug for ChannelOperation
Auto Trait Implementations§
impl Freeze for ChannelOperation
impl RefUnwindSafe for ChannelOperation
impl Send for ChannelOperation
impl Sync for ChannelOperation
impl Unpin for ChannelOperation
impl UnsafeUnpin for ChannelOperation
impl UnwindSafe for ChannelOperation
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