pub struct ForwardContext {
pub subject: String,
pub from: String,
pub forwarded_content: String,
}Expand description
Forward context returned by PrepareForward.
Fields§
§subject: String§from: String§forwarded_content: StringTrait Implementations§
Source§impl Clone for ForwardContext
impl Clone for ForwardContext
Source§fn clone(&self) -> ForwardContext
fn clone(&self) -> ForwardContext
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 ForwardContext
impl Debug for ForwardContext
Source§impl<'de> Deserialize<'de> for ForwardContext
impl<'de> Deserialize<'de> for ForwardContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ForwardContext
impl RefUnwindSafe for ForwardContext
impl Send for ForwardContext
impl Sync for ForwardContext
impl Unpin for ForwardContext
impl UnsafeUnpin for ForwardContext
impl UnwindSafe for ForwardContext
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