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