pub struct InboundEdited {
pub chat: String,
pub user: WireUser,
pub message_id: i64,
pub text: Option<String>,
pub thread_id: Option<i64>,
}Expand description
A message whose text was edited.
Fields§
§chat: StringChat/channel id.
user: WireUserEditing user.
message_id: i64Edited message id.
text: Option<String>New text.
thread_id: Option<i64>Forum topic of the message.
Trait Implementations§
Source§impl Clone for InboundEdited
impl Clone for InboundEdited
Source§fn clone(&self) -> InboundEdited
fn clone(&self) -> InboundEdited
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InboundEdited
impl Debug for InboundEdited
Source§impl<'de> Deserialize<'de> for InboundEdited
impl<'de> Deserialize<'de> for InboundEdited
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
Source§impl PartialEq for InboundEdited
impl PartialEq for InboundEdited
Source§impl Serialize for InboundEdited
impl Serialize for InboundEdited
impl StructuralPartialEq for InboundEdited
Auto Trait Implementations§
impl Freeze for InboundEdited
impl RefUnwindSafe for InboundEdited
impl Send for InboundEdited
impl Sync for InboundEdited
impl Unpin for InboundEdited
impl UnsafeUnpin for InboundEdited
impl UnwindSafe for InboundEdited
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