pub struct IncomingControl {
pub command: String,
pub channel: Option<String>,
pub problem: Option<String>,
}Expand description
Control messages we RECEIVE (permissive).
Fields§
§command: StringThe control command name (e.g. close, done, init).
channel: Option<String>Channel the command refers to, if any.
problem: Option<String>Problem kind when the command reports a failure.
Trait Implementations§
Source§impl Debug for IncomingControl
impl Debug for IncomingControl
Source§impl<'de> Deserialize<'de> for IncomingControl
impl<'de> Deserialize<'de> for IncomingControl
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
Auto Trait Implementations§
impl Freeze for IncomingControl
impl RefUnwindSafe for IncomingControl
impl Send for IncomingControl
impl Sync for IncomingControl
impl Unpin for IncomingControl
impl UnsafeUnpin for IncomingControl
impl UnwindSafe for IncomingControl
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