pub struct PinMessage {
pub channel_id: Id<ChannelMarker>,
pub message_id: Id<MessageMarker>,
}Fields§
§channel_id: Id<ChannelMarker>§message_id: Id<MessageMarker>Implementations§
Source§impl PinMessage
impl PinMessage
Sourcepub fn builder() -> PinMessageBuilder
pub fn builder() -> PinMessageBuilder
Create an instance of PinMessage using the builder syntax
Trait Implementations§
Source§impl Clone for PinMessage
impl Clone for PinMessage
Source§fn clone(&self) -> PinMessage
fn clone(&self) -> PinMessage
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 PinMessage
impl Debug for PinMessage
impl Copy for PinMessage
Auto Trait Implementations§
impl Freeze for PinMessage
impl RefUnwindSafe for PinMessage
impl Send for PinMessage
impl Sync for PinMessage
impl Unpin for PinMessage
impl UnsafeUnpin for PinMessage
impl UnwindSafe for PinMessage
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