pub struct TimerCreatedMessage { /* private fields */ }
Implementations§
Source§impl TimerCreatedMessage
impl TimerCreatedMessage
pub fn data<T>(self, value: T) -> Self
pub fn message_id<T>(self, value: T) -> Self
pub fn message_type<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for TimerCreatedMessage
impl Clone for TimerCreatedMessage
Source§fn clone(&self) -> TimerCreatedMessage
fn clone(&self) -> TimerCreatedMessage
Returns a duplicate 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 TimerCreatedMessage
impl Debug for TimerCreatedMessage
Source§impl Default for TimerCreatedMessage
impl Default for TimerCreatedMessage
Source§impl From<TimerCreatedMessage> for TimerCreatedMessage
impl From<TimerCreatedMessage> for TimerCreatedMessage
Source§fn from(value: TimerCreatedMessage) -> Self
fn from(value: TimerCreatedMessage) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TimerCreatedMessage> for TimerCreatedMessage
impl TryFrom<TimerCreatedMessage> for TimerCreatedMessage
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TimerCreatedMessage) -> Result<Self, ConversionError>
fn try_from(value: TimerCreatedMessage) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TimerCreatedMessage
impl RefUnwindSafe for TimerCreatedMessage
impl Send for TimerCreatedMessage
impl Sync for TimerCreatedMessage
impl Unpin for TimerCreatedMessage
impl UnwindSafe for TimerCreatedMessage
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