pub struct OctopipesMessage {
pub origin: Option<String>,
pub remote: Option<String>,
pub data: Vec<u8>,
/* private fields */
}
Expand description
§OctopipesMessage
OctopipesMessage
contains the data of a message
Fields§
§origin: Option<String>
§remote: Option<String>
§data: Vec<u8>
Implementations§
Source§impl OctopipesMessage
impl OctopipesMessage
Sourcepub fn isset_option(&self, option: OctopipesOptions) -> bool
pub fn isset_option(&self, option: OctopipesOptions) -> bool
§isset_option
isset_option
returns wheter an Octopipes Option is set for the current message
Auto Trait Implementations§
impl Freeze for OctopipesMessage
impl RefUnwindSafe for OctopipesMessage
impl Send for OctopipesMessage
impl Sync for OctopipesMessage
impl Unpin for OctopipesMessage
impl UnwindSafe for OctopipesMessage
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