pub struct Notify<'a> {
pub subscription_id: Option<Cow<'a, str>>,
pub send_resp: Option<bool>,
pub notification: OneOfnotification<'a>,
}
Fields§
§subscription_id: Option<Cow<'a, str>>
§send_resp: Option<bool>
§notification: OneOfnotification<'a>
Trait Implementations§
source§impl<'a> MessageRead<'a> for Notify<'a>
impl<'a> MessageRead<'a> for Notify<'a>
source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read more