pub struct ForwardMessage {
pub chat_id: ChatId,
pub from_chat_id: ChatId,
pub message_id: MessageId,
/* private fields */
}Expand description
Fields§
§chat_id: ChatId§from_chat_id: ChatId§message_id: MessageIdImplementations§
Source§impl ForwardMessage
impl ForwardMessage
pub fn chat_id(self, chat_id: ChatId) -> Self
pub fn from_chat_id(self, from_chat_id: ChatId) -> Self
pub fn message_id(self, message_id: MessageId) -> Self
Trait Implementations§
Source§impl Clone for ForwardMessage
impl Clone for ForwardMessage
Source§fn clone(&self) -> ForwardMessage
fn clone(&self) -> ForwardMessage
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 ForwardMessage
impl Debug for ForwardMessage
Source§impl IntoFuture for ForwardMessage
impl IntoFuture for ForwardMessage
Source§type IntoFuture = Pin<Box<dyn Future<Output = <ForwardMessage as IntoFuture>::Output> + Sync + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <ForwardMessage as IntoFuture>::Output> + Sync + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl Request for ForwardMessage
impl Request for ForwardMessage
Auto Trait Implementations§
impl Freeze for ForwardMessage
impl !RefUnwindSafe for ForwardMessage
impl Send for ForwardMessage
impl Sync for ForwardMessage
impl Unpin for ForwardMessage
impl !UnwindSafe for ForwardMessage
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