pub struct IotHubMessage { /* private fields */ }
Expand description
A struct to represet an IOT hub message.
Implementations§
Source§impl IotHubMessage
impl IotHubMessage
pub fn content_type(&self) -> IOTHUBMESSAGE_CONTENT_TYPE
pub fn from_handle(handle: IOTHUB_MESSAGE_HANDLE) -> Self
pub fn body<'a>(&'a self) -> MessageBody<'a>
Trait Implementations§
Source§impl Clone for IotHubMessage
impl Clone for IotHubMessage
Source§impl Debug for IotHubMessage
impl Debug for IotHubMessage
Auto Trait Implementations§
impl Freeze for IotHubMessage
impl RefUnwindSafe for IotHubMessage
impl !Send for IotHubMessage
impl !Sync for IotHubMessage
impl Unpin for IotHubMessage
impl UnwindSafe for IotHubMessage
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