Struct jcm::StatusRequest
source · #[repr(C)]pub struct StatusRequest;Expand description
Represents a Status request message.
Implementations§
source§impl StatusRequest
impl StatusRequest
sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new StatusRequest.
sourcepub const fn message_type(&self) -> MessageType
pub const fn message_type(&self) -> MessageType
Gets the MessageType for the StatusRequest.
sourcepub const fn request_type(&self) -> RequestType
pub const fn request_type(&self) -> RequestType
Gets the RequestType for the StatusRequest.
sourcepub const fn message_code(&self) -> MessageCode
pub const fn message_code(&self) -> MessageCode
Gets the MessageCode for the StatusRequest.
sourcepub const fn request_code(&self) -> RequestCode
pub const fn request_code(&self) -> RequestCode
Gets the RequestCode for the StatusRequest.
Trait Implementations§
source§impl Clone for StatusRequest
impl Clone for StatusRequest
source§fn clone(&self) -> StatusRequest
fn clone(&self) -> StatusRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StatusRequest
impl Debug for StatusRequest
source§impl Default for StatusRequest
impl Default for StatusRequest
source§impl From<&StatusRequest> for Message
impl From<&StatusRequest> for Message
source§fn from(val: &StatusRequest) -> Self
fn from(val: &StatusRequest) -> Self
Converts to this type from the input type.
source§impl From<&StatusRequest> for MessageData
impl From<&StatusRequest> for MessageData
source§fn from(val: &StatusRequest) -> Self
fn from(val: &StatusRequest) -> Self
Converts to this type from the input type.
source§impl From<StatusRequest> for Message
impl From<StatusRequest> for Message
source§fn from(val: StatusRequest) -> Self
fn from(val: StatusRequest) -> Self
Converts to this type from the input type.
source§impl From<StatusRequest> for MessageData
impl From<StatusRequest> for MessageData
source§fn from(val: StatusRequest) -> Self
fn from(val: StatusRequest) -> Self
Converts to this type from the input type.
source§impl PartialEq for StatusRequest
impl PartialEq for StatusRequest
source§fn eq(&self, other: &StatusRequest) -> bool
fn eq(&self, other: &StatusRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&Message> for StatusRequest
impl TryFrom<&Message> for StatusRequest
source§impl TryFrom<&MessageData> for StatusRequest
impl TryFrom<&MessageData> for StatusRequest
source§impl TryFrom<Message> for StatusRequest
impl TryFrom<Message> for StatusRequest
source§impl TryFrom<MessageData> for StatusRequest
impl TryFrom<MessageData> for StatusRequest
impl Copy for StatusRequest
impl Eq for StatusRequest
impl StructuralPartialEq for StatusRequest
Auto Trait Implementations§
impl Freeze for StatusRequest
impl RefUnwindSafe for StatusRequest
impl Send for StatusRequest
impl Sync for StatusRequest
impl Unpin for StatusRequest
impl UnwindSafe for StatusRequest
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